Bluetooth: hci_sync: Convert MGMT_OP_READ_LOCAL_OOB_DATA
authorBrian Gix <brian.gix@intel.com>
Wed, 27 Oct 2021 23:58:52 +0000 (16:58 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 29 Oct 2021 14:51:59 +0000 (16:51 +0200)
commitf892244b05bf6a99e48db14f8bbd96db16bcfa69
treec682437ef7b5012bc313e975ec458838026ef768
parentd81a494c43df66f053f7d1ec612e057eb99f34d4
Bluetooth: hci_sync: Convert MGMT_OP_READ_LOCAL_OOB_DATA

New functions:
  hci_read_local_oob_data_sync

This function requires all of the data from the cmd cmplt event
to be passed up to the caller via the skb.

mgmt-tester paths:
Read Local OOB Data - Not powered
Read Local OOB Data - Legacy pairing
Read Local OOB Data - Success SSP
Read Local OOB Data - Success SC

Signed-off-by: Brian Gix <brian.gix@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/hci_sync.h
net/bluetooth/hci_sync.c
net/bluetooth/mgmt.c
net/bluetooth/mgmt_util.h