OSDN Git Service

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)
commite88422bccda86808359f0d4179e25e5c2191ab4f
tree8bd0e188c9e61b98bb56f3785d6b9117298a64a2
parent899663be5e75dc0174dc8bda0b5e6826edf0b29a
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