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>
This commit is contained in:
committed by
Marcel Holtmann
parent
e88422bccd
commit
7978656caf
@ -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
|
||||
|
Reference in New Issue
Block a user