Searched refs:connectable (Results 1 – 1 of 1) sorted by relevance
1517 static bool is_advertising_allowed(struct hci_dev *hdev, bool connectable) in is_advertising_allowed() argument1527 if (!connectable && !(hdev->le_states[2] & 0x10)) in is_advertising_allowed()1533 if (connectable && (!(hdev->le_states[4] & 0x40) || in is_advertising_allowed()1541 if (!connectable && !(hdev->le_states[2] & 0x02)) in is_advertising_allowed()1547 if (connectable && (!(hdev->le_states[4] & 0x08) || in is_advertising_allowed()1561 bool connectable; in __hci_req_enable_advertising() local1571 connectable = (flags & MGMT_ADV_FLAG_CONNECTABLE) || in __hci_req_enable_advertising()1574 if (!is_advertising_allowed(hdev, connectable)) in __hci_req_enable_advertising()1591 if (hci_update_random_address(req, !connectable, in __hci_req_enable_advertising()1606 if (connectable) { in __hci_req_enable_advertising()[all …]