From: Andre Guedes Date: Fri, 3 Feb 2012 20:47:59 +0000 (-0300) Subject: Bluetooth: Add hci_do_le_scan() X-Git-Tag: v3.4-rc1~177^2~112^2~175 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ba8b4be38e7c83b2b13333a82a0ecde921a7390;p=pandora-kernel.git Bluetooth: Add hci_do_le_scan() This patch adds to hci_core the hci_do_le_scan function which should be used to scan LE devices. In order to enable LE scan, hci_do_le_scan() sends commands (Set LE Scan Parameters and Set LE Scan Enable) to the controller and waits for its results. If commands were executed successfully a delayed work is scheduled to disable the ongoing scanning after some amount of time. This function blocks. Signed-off-by: Andre Guedes Acked-by: Marcel Holtmann Signed-off-by: Johan Hedberg --- Reading git-diff-tree failed