aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2021-11-24 16:16:13 -0800
committerMarcel Holtmann <marcel@holtmann.org>2021-11-25 21:06:18 +0100
commit7978656caf2ad3963fb63797128ec8d71caa2798 (patch)
tree269891322b415ae938d3f1ab1d74a3ccfdeff86f /include/net/bluetooth
parentBluetooth: HCI: Fix definition of hci_rp_read_stored_link_key (diff)
downloadlinux-dev-7978656caf2ad3963fb63797128ec8d71caa2798.tar.xz
linux-dev-7978656caf2ad3963fb63797128ec8d71caa2798.zip
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>
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r--include/net/bluetooth/hci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h
index 923534da9c0f..0d2a9216869b 100644
--- a/include/net/bluetooth/hci.h
+++ b/include/net/bluetooth/hci.h
@@ -1058,7 +1058,7 @@ struct hci_cp_delete_stored_link_key {
} __packed;
struct hci_rp_delete_stored_link_key {
__u8 status;
- __u8 num_keys;
+ __le16 num_keys;
} __packed;
#define HCI_MAX_NAME_LENGTH 248