diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2021-08-03 02:56:18 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2021-08-04 00:30:49 +0300 |
commit | 102793136ce9dacae77c2d1f8dd6878b480f4b95 (patch) | |
tree | 8152b6a0c0491514ea36160fba6f85ae130a2edb /include/net/bluetooth/hci_core.h | |
parent | 654e6f7700c46017af309aab594f0afdebc30740 (diff) | |
download | linux-102793136ce9dacae77c2d1f8dd6878b480f4b95.tar.xz |
Bluetooth: HCI: Add proper tracking for enable status of adv instances
This adds a field to track if advertising instances are enabled or not
and only clear HCI_LE_ADV flag if there is no instance left advertising.
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/bluetooth/hci_core.h')
-rw-r--r-- | include/net/bluetooth/hci_core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h index 4abe3c494002..b79b31359bf8 100644 --- a/include/net/bluetooth/hci_core.h +++ b/include/net/bluetooth/hci_core.h @@ -221,6 +221,7 @@ struct oob_data { struct adv_info { struct list_head list; + bool enabled; bool pending; __u8 instance; __u32 flags; |