OSDN Git Service

Bluetooth: Fix not sending Set Extended Scan Response
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Sat, 14 Nov 2020 00:44:33 +0000 (16:44 -0800)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 7 Dec 2020 15:00:29 +0000 (17:00 +0200)
commita76a0d365077711594ce200a9553ed6d1ff40276
tree41e8a7d8e4984a9a5ebd5979e825246f393ebfb0
parent5b8ec15d02f12148ef0185825217162b3bc341f4
Bluetooth: Fix not sending Set Extended Scan Response

Current code is actually failing on the following tests of mgmt-tester
because get_adv_instance_scan_rsp_len did not account for flags that
cause scan response data to be included resulting in non-scannable
instance when in fact it should be scannable.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/hci_request.c