Bluetooth: hci_sync: Fix hci_read_buffer_size_sync
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 2 Sep 2022 00:24:13 +0000 (17:24 -0700)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 6 Sep 2022 20:18:30 +0000 (13:18 -0700)
commitc1631dbc00c1e432713396aaa10d8bd825822db0
tree9b75001bb90041366cea2cec38965a7aba5afe31
parentaf6bcc1921ff0b644d2d750c0e3a88623b7211f5
Bluetooth: hci_sync: Fix hci_read_buffer_size_sync

hci_read_buffer_size_sync shall not use HCI_OP_LE_READ_BUFFER_SIZE_V2
sinze that is LE specific, instead it is hci_le_read_buffer_size_sync
version that shall use it.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=216382
Fixes: 26afbd826ee3 ("Bluetooth: Add initial implementation of CIS connections")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
net/bluetooth/hci_sync.c