summaryrefslogtreecommitdiffstats
path: root/include/asm-generic
diff options
context:
space:
mode:
authorAndre Guedes2013-04-30 20:29:33 +0200
committerGustavo Padovan2013-06-23 01:23:51 +0200
commit0e05bba6f6f8c2dca7a13fe0566742277e92df07 (patch)
tree99e02b894717a221de7f703c72cbb3eb877c5681 /include/asm-generic
parentBluetooth: Use HCI request in interleaved discovery (diff)
downloadkernel-qcow2-linux-0e05bba6f6f8c2dca7a13fe0566742277e92df07.tar.gz
kernel-qcow2-linux-0e05bba6f6f8c2dca7a13fe0566742277e92df07.tar.xz
kernel-qcow2-linux-0e05bba6f6f8c2dca7a13fe0566742277e92df07.zip
Bluetooth: Update stop_discovery to use HCI request
This patch modifies the stop_discovery function so it uses the HCI request framework. The HCI request is built according to the current discovery state (inquiry, LE scanning or name resolving) and a complete callback is register to handle the command complete event for the stop discovery command. This way, we move all stop_discovery mgmt handling code spread in hci_event.c to a single place in mgmt.c. Signed-off-by: Andre Guedes <andre.guedes@openbossa.org> Acked-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'include/asm-generic')
0 files changed, 0 insertions, 0 deletions