Bluetooth: Convert local OOB data reading to use HCI request
authorJohan Hedberg <johan.hedberg@intel.com>
Thu, 2 Apr 2015 10:41:13 +0000 (13:41 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 2 Apr 2015 14:09:29 +0000 (16:09 +0200)
commit1b9441f8ec426223f6f54f2af10ee01c8b743e5b
treeba49ce98295f26b3ca08ebfcdfd5e314b85b0da4
parent757aa0b56da5d1089c55bf349fa15836dae22b6f
Bluetooth: Convert local OOB data reading to use HCI request

Now that there's a HCI request API available where the callback receives
the resulting skb, we can convert the local OOB data reading to use this
new API. This patch does the necessary update in mgmt.c (which also
requires moving the callback higher up since it's now a static function)
and removes the custom calls from hci_event.c that are no-longer
necessary.

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