summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/l2cap_core.c
diff options
context:
space:
mode:
authorJohan Hedberg2014-06-10 13:05:59 +0200
committerMarcel Holtmann2014-06-13 13:32:23 +0200
commitf8680f128b01212895a9afb31032f6ffe91bd771 (patch)
tree0da8d68e33e84af03f199e4d0d9455628e36b397 /net/bluetooth/l2cap_core.c
parentBluetooth: Refactor discovery stopping into its own function (diff)
downloadkernel-qcow2-linux-f8680f128b01212895a9afb31032f6ffe91bd771.tar.gz
kernel-qcow2-linux-f8680f128b01212895a9afb31032f6ffe91bd771.tar.xz
kernel-qcow2-linux-f8680f128b01212895a9afb31032f6ffe91bd771.zip
Bluetooth: Reuse hci_stop_discovery function when cleaning up HCI state
When cleaning up the HCI state as part of the power-off procedure we can reuse the hci_stop_discovery() function instead of explicitly sending HCI command related to discovery. The added benefit of this is that it takes care of canceling name resolving and inquiry which were not previously covered by the code. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Cc: stable@vger.kernel.org
Diffstat (limited to 'net/bluetooth/l2cap_core.c')
0 files changed, 0 insertions, 0 deletions