Bluetooth: Add support to advertise when connected
authorŁukasz Rymanowski <lukasz.rymanowski@codecoup.pl>
Fri, 8 Dec 2017 12:40:57 +0000 (13:40 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 13 Dec 2017 08:41:37 +0000 (09:41 +0100)
commit9e1e9f20ca96026c56ac613317ea4bf01c6c3385
tree56117e225b5e1ecea03a1158131da87f5278b8df
parent4166493c97c0c70e8d7678422c2214dc5ec6e9d3
Bluetooth: Add support to advertise when connected

So far, kernel did not allow to advertise when there was a connection
established. With this patch kernel does allow it if controller
supports it.

If controller supports non-connectable advertising when connected, then
only non-connectable advertising instances will be advertised.

Signed-off-by: Łukasz Rymanowski <lukasz.rymanowski@codecoup.pl>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_request.c