HCI_MESH
if (!hci_dev_test_flag(hdev, HCI_MESH) && direct_addr &&
if (hci_dev_test_flag(hdev, HCI_MESH)) {
if (hci_dev_test_flag(hdev, HCI_MESH))
if (val && hci_dev_test_flag(hdev, HCI_MESH))
if (hci_dev_test_flag(hdev, HCI_MESH)) {
if (!hci_dev_test_flag(hdev, HCI_MESH) &&
if (hci_dev_test_flag(hdev, HCI_MESH) && link_type == LE_LINK)
hci_dev_set_flag(hdev, HCI_MESH);
hci_dev_clear_flag(hdev, HCI_MESH);
hci_dev_clear_flag(hdev, HCI_MESH);
hci_dev_test_flag(hdev, HCI_MESH) ||