]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: HCI: Fix definition of hci_rp_read_stored_link_key
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 25 Nov 2021 00:16:12 +0000 (16:16 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 25 Nov 2021 20:03:45 +0000 (21:03 +0100)
commit65cc4c403391d8f2978ae29631cd894f74e28550
tree8bd0e188c9e61b98bb56f3785d6b9117298a64a2
parente75d43b657467e852eaf8db4c1aa02f87ce86459
Bluetooth: HCI: Fix definition of hci_rp_read_stored_link_key

Both max_num_keys and num_key are 2 octects:

BLUETOOTH CORE SPECIFICATION Version 5.3 | Vol 4, Part E
page 1985:

  Max_Num_Keys:
  Size: 2 octets
  Range: 0x0000 to 0xFFFF

  Num_Keys_Read:
  Size: 2 octets
  Range: 0x0000 to 0xFFFF

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/hci.h
include/net/bluetooth/hci_core.h
net/bluetooth/hci_event.c