]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Enable page scan also if there are white list entries
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 9 Jul 2014 09:59:18 +0000 (12:59 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 9 Jul 2014 10:25:27 +0000 (12:25 +0200)
commit21cf26d7b770a9cf91452abaff068930137e4248
tree50824132687a3c7e0224b0c8ac32f849058283db
parent9a69a38f1a901d98a4e8357d519b7858464ff3e5
Bluetooth: Enable page scan also if there are white list entries

Page scan should be enabled either if the connectable setting is set or
if there are any entries in the BR/EDR white list. This patch implements
such behavior by updating the two places that were making decisions on
whether to enable page scan or not.

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