# Re: \[PATCH v4 2/2\] Bluetooth: Store advertising handle so it can be re-enabled

- From: Marcel Holtmann \<marcel@holtmann.org\>
- Date: 2021-08-16 15:55:53 
- List: linux-bluetooth
- Page: https://ratatoskr.run/linux-bluetooth/2021/08/9681088
- Thread: https://ratatoskr.run/linux-bluetooth/2021/08/9680949/t.md

```text
Hi Luiz,

> 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 <redacted>
> ---
> include/net/bluetooth/hci_core.h |  1 +
> net/bluetooth/hci_event.c        | 45 ++++++++++++++++++++------------
> 2 files changed, 30 insertions(+), 16 deletions(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel

```
