Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 290943
b: refs/heads/master
c: 664ce4c
h: refs/heads/master
i:
  290941: b48e5c5
  290939: 56de738
  290935: b9b3318
  290927: d72cf2a
  290911: f7fbdf4
  290879: 7835871
  290815: ef80cab
v: v3
  • Loading branch information
Johan Hedberg committed Feb 13, 2012
1 parent cfe8705 commit 5ad1f2a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 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: 272d90df2d4d065e782cafb08358bd8918bf703a
refs/heads/master: 664ce4cc293cd6c76236617f78689d0e03e69287
4 changes: 2 additions & 2 deletions trunk/include/net/bluetooth/mgmt.h
Original file line number Diff line number Diff line change
Expand Up @@ -270,14 +270,14 @@ struct mgmt_rp_read_local_oob_data {

#define MGMT_OP_ADD_REMOTE_OOB_DATA 0x0021
struct mgmt_cp_add_remote_oob_data {
bdaddr_t bdaddr;
struct mgmt_addr_info addr;
__u8 hash[16];
__u8 randomizer[16];
} __packed;

#define MGMT_OP_REMOVE_REMOTE_OOB_DATA 0x0022
struct mgmt_cp_remove_remote_oob_data {
bdaddr_t bdaddr;
struct mgmt_addr_info addr;
} __packed;

#define MGMT_OP_START_DISCOVERY 0x0023
Expand Down
4 changes: 2 additions & 2 deletions trunk/net/bluetooth/mgmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -1875,7 +1875,7 @@ static int add_remote_oob_data(struct sock *sk, u16 index, void *data,

hci_dev_lock(hdev);

err = hci_add_remote_oob_data(hdev, &cp->bdaddr, cp->hash,
err = hci_add_remote_oob_data(hdev, &cp->addr.bdaddr, cp->hash,
cp->randomizer);
if (err < 0)
err = cmd_status(sk, index, MGMT_OP_ADD_REMOTE_OOB_DATA,
Expand Down Expand Up @@ -1910,7 +1910,7 @@ static int remove_remote_oob_data(struct sock *sk, u16 index,

hci_dev_lock(hdev);

err = hci_remove_remote_oob_data(hdev, &cp->bdaddr);
err = hci_remove_remote_oob_data(hdev, &cp->addr.bdaddr);
if (err < 0)
err = cmd_status(sk, index, MGMT_OP_REMOVE_REMOTE_OOB_DATA,
MGMT_STATUS_INVALID_PARAMS);
Expand Down

0 comments on commit 5ad1f2a

Please sign in to comment.