]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Disable HCI_CONNECTABLE based passive scanning for now
authorJohan Hedberg <johan.hedberg@intel.com>
Sun, 20 Jul 2014 14:10:45 +0000 (17:10 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 20 Jul 2014 14:15:38 +0000 (16:15 +0200)
commit49d09d459068ef04a7c2e38e1cc85c1dd8786545
tree509368349bd94f74e7d3ddc58f10803a6d558374
parent4b555fe47a88d68a22746f5fba0029ede2074486
Bluetooth: Disable HCI_CONNECTABLE based passive scanning for now

When HCI_CONNECTABLE is set the code has been enabling passive scanning
in order to be consistent with BR/EDR and accept connections from any
device doing directed advertising to us. However, some hardware
(particularly CSR) can get very noisy even when doing duplicates
filtering, making this feature waste resources.

Considering that the feature is for fairly corner-case use (devices
who'd use directed advertising would likely be in the whitelist anyway)
it's better to disable it for now. It may still be brought back later,
possibly with a better implementation (e.g. through improved scan
parameters).

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_core.c