OSDN Git Service

Bluetooth: HCI: Fix definition of hci_rp_delete_stored_link_key
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 25 Nov 2021 00:16:13 +0000 (16:16 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 25 Nov 2021 20:06:18 +0000 (21:06 +0100)
commit7978656caf2ad3963fb63797128ec8d71caa2798
tree269891322b415ae938d3f1ab1d74a3ccfdeff86f
parente88422bccda86808359f0d4179e25e5c2191ab4f
Bluetooth: HCI: Fix definition of hci_rp_delete_stored_link_key

num_keys is actually 2 octects not 1:

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

  Num_Keys_Deleted:
  Size: 2 octets
  0xXXXX Number of Link Keys Deleted

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
net/bluetooth/hci_event.c