commit | 22f433dcf7c71cf075e4c42b5f36ea4352978a6d | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Fri Aug 01 11:13:32 2014 +0300 |
committer | Marcel Holtmann <marcel@holtmann.org> | Thu Aug 14 08:49:10 2014 +0200 |
tree | a5dd4e4f4e5c8114e12992b9314cadaf9950db54 | |
parent | 432df05eb1e57adfc46df08abbedca6c3b8862f7 [diff] |
Bluetooth: Disable page scan if all whitelisted devices are connected When we're not connectable and all whitelisted (BR/EDR) devices are connected it doesn't make sense to keep page scan enabled. This patch adds code to check for any disconnected whitelist devices and if there are none take the appropriate action in the hci_update_page_scan() function to disable page scan. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>