]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: HCI: Fix not always setting Scan Response/Advertising Data
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 8 Jun 2022 22:00:01 +0000 (15:00 -0700)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 22 Jul 2022 00:07:30 +0000 (17:07 -0700)
commit2b91c3347b5b5b8991c5f80422260da0e55993c5
tree9d3a2a323a9b8dd6de240cc7df50726538fa2fb0
parent5ca495c0f9c640d6684dcf18f29891700c9b022a
Bluetooth: HCI: Fix not always setting Scan Response/Advertising Data

The scan response and advertising data needs to be tracked on a per
instance (adv_info) since when these instaces are removed so are their
data, to fix that new flags are introduced which is used to mark when
the data changes and then checked to confirm when the data needs to be
synced with the controller.

Tested-by: Tedd Ho-Jeong An <tedd.an@intel.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_core.c
net/bluetooth/hci_sync.c