Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 290968
b: refs/heads/master
c: a198e7b
h: refs/heads/master
v: v3
  • Loading branch information
Johan Hedberg committed Feb 17, 2012
1 parent d2b25de commit 0dd097b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d8457698e7f23a05055396a15ec72ba663282867
refs/heads/master: a198e7b100b26dd6ac0240487ca37bad0f53e3e6
4 changes: 2 additions & 2 deletions trunk/include/net/bluetooth/mgmt.h
Original file line number Diff line number Diff line change
Expand Up @@ -296,11 +296,11 @@ struct mgmt_cp_start_discovery {

#define MGMT_OP_CONFIRM_NAME 0x0025
struct mgmt_cp_confirm_name {
bdaddr_t bdaddr;
struct mgmt_addr_info addr;
__u8 name_known;
} __packed;
struct mgmt_rp_confirm_name {
bdaddr_t bdaddr;
struct mgmt_addr_info addr;
__u8 status;
} __packed;

Expand Down
2 changes: 1 addition & 1 deletion trunk/net/bluetooth/mgmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0dd097b

Please sign in to comment.