From: Johan Hedberg Date: Fri, 1 Aug 2014 08:13:32 +0000 (+0300) Subject: Bluetooth: Disable page scan if all whitelisted devices are connected X-Git-Tag: fixes-against-v3.18-rc2~81^2~133^2~84^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22f433dcf7c71cf075e4c42b5f36ea4352978a6d;p=pandora-kernel.git 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 Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed