mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-27 09:02:06 +00:00
Bluetooth: mgmt: Add address type to confirm name command
The latest mgmt API includes an address type for all messages containing an address. This patch updates the confirm name command to match this. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Acked-by: Marcel Holtmann <marcel@holtmann.org>
This commit is contained in:
parent
d8457698e7
commit
a198e7b100
2 changed files with 3 additions and 3 deletions
|
@ -2299,7 +2299,7 @@ static int confirm_name(struct sock *sk, u16 index, void *data, u16 len)
|
|||
goto failed;
|
||||
}
|
||||
|
||||
e = hci_inquiry_cache_lookup_unknown(hdev, &cp->bdaddr);
|
||||
e = hci_inquiry_cache_lookup_unknown(hdev, &cp->addr.bdaddr);
|
||||
if (!e) {
|
||||
err = cmd_status (sk, index, MGMT_OP_CONFIRM_NAME,
|
||||
MGMT_STATUS_INVALID_PARAMS);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue