Bluetooth: Simplify le_scan_disable_work()
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 11 Nov 2015 10:24:22 +0000 (12:24 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 19 Nov 2015 16:50:31 +0000 (17:50 +0100)
commitf4a2cb4d8f792350ec38b35b94026fc2c4be8d0f
tree1b7e7cfeb3a079337df82562722eb138b7e594b4
parent7df26b56297456a133b8cc2efb069065d6b9a555
Bluetooth: Simplify le_scan_disable_work()

Merge le_scan_disable_work_complete into the main le_scan_disable_work
function and take advantage of the updated bredr_inquiry() to run the
Inquiry through hci_req_sync().

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_request.c