Bluetooth: Store advertising handle so it can be re-enabled
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 11 Aug 2021 23:20:16 +0000 (16:20 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 16 Aug 2021 15:53:48 +0000 (17:53 +0200)
commit7087c4f69487f017722df7d299ef9b7709996b79
treef3d03c612f4550200468d892533ae89c9f93f6f7
parentcafae4cd625502f65d1798659c1aa9b62d38cc56
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>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_event.c