From: Johan Hedberg Date: Fri, 15 Mar 2013 22:07:14 +0000 (-0500) Subject: Bluetooth: Fix fast connectable state when enabling page scan X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~170^2^2~116^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c01f8b845238710ff4b6c7fa8148ca52613f199;p=pandora-kernel.git Bluetooth: Fix fast connectable state when enabling page scan When powering on or enabling page scan we need to ensure that the page scan parameters are as they should be. This is because some controllers do not properly reset these values upon HCI_Reset. Since the write_scan_parameters function is now called from several new places it also checks for the >= 1.2 HCI version requirement before sending the commands. Signed-off-by: Johan Hedberg Acked-by: Marcel Holtmann Signed-off-by: Gustavo Padovan --- Reading git-diff-tree failed