summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2021-08-11 16:20:16 -0700
committerMarcel Holtmann <marcel@holtmann.org>2021-08-16 17:53:48 +0200
commit7087c4f69487f017722df7d299ef9b7709996b79 (patch)
treef3d03c612f4550200468d892533ae89c9f93f6f7 /include/net
parentcafae4cd625502f65d1798659c1aa9b62d38cc56 (diff)
downloadlinux-7087c4f69487f017722df7d299ef9b7709996b79.tar.gz
linux-7087c4f69487f017722df7d299ef9b7709996b79.tar.bz2
linux-7087c4f69487f017722df7d299ef9b7709996b79.zip
Bluetooth: Store advertising handle so it can be re-enabled
This stores the advertising handle/instance into hci_conn so it is accessible when re-enabling the advertising once disconnected. 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')
-rw-r--r--include/net/bluetooth/hci_core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index a7d06d7da602..a7360c8c72f8 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -629,6 +629,7 @@ struct hci_conn {
__u8 init_addr_type;
bdaddr_t resp_addr;
__u8 resp_addr_type;
+ __u8 adv_instance;
__u16 handle;
__u16 state;
__u8 mode;