Bluetooth: Use hci_request for discoverable timeout handling
authorMarcel Holtmann <marcel@holtmann.org>
Tue, 15 Oct 2013 13:33:51 +0000 (06:33 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Tue, 15 Oct 2013 14:17:44 +0000 (17:17 +0300)
commitb1e73124104d0c4c6c9a073afea07ff0b73d5787
treea028f1dfe356e407d3226129a3ead1131b661cb1
parent8d6083fe0ab6ffbe486b5d537922fba68e872568
Bluetooth: Use hci_request for discoverable timeout handling

When the discoverable timeout triggers and it is time to turn inquiry
scan back off, use the HCI request framework to do it.

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