]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Bluetooth: HCI: Add definition of hci_rp_remote_name_req_cancel
authorWentao Guan <guanwentao@uniontech.com>
Mon, 17 Mar 2025 18:50:34 +0000 (02:50 +0800)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 25 Mar 2025 16:47:23 +0000 (12:47 -0400)
commite8c00f5433d020a2230226abe7e43f43dc686920
tree714019541039fc8597986e20325d78f141900e8e
parent5b86e2a575b06b7bd5f32e933c4d5b416ee91444
Bluetooth: HCI: Add definition of hci_rp_remote_name_req_cancel

Return Parameters is not only status, also bdaddr:

BLUETOOTH CORE SPECIFICATION Version 5.4 | Vol 4, Part E
page 1870:
BLUETOOTH CORE SPECIFICATION Version 5.0 | Vol 2, Part E
page 802:

Return parameters:
  Status:
  Size: 1 octet
  BD_ADDR:
  Size: 6 octets

Note that it also fixes the warning:
"Bluetooth: hci0: unexpected cc 0x041a length: 7 > 1"

Fixes: c8992cffbe741 ("Bluetooth: hci_event: Use of a function table to handle Command Complete")
Signed-off-by: Wentao Guan <guanwentao@uniontech.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
include/net/bluetooth/hci.h
net/bluetooth/hci_event.c