Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 306847
b: refs/heads/master
c: 2e3c35e
h: refs/heads/master
i:
  306845: 0aacee4
  306843: 74c32b8
  306839: 1607db7
  306831: 8e18ccb
  306815: f460a16
v: v3
  • Loading branch information
Andrei Emeltchenko authored and Gustavo Padovan committed May 9, 2012
1 parent 03a6b24 commit deac404
Show file tree
Hide file tree
Showing 2 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: 1f350c8724881fe6b1be9aa68d1e49508a6f8ab9
refs/heads/master: 2e3c35ead821498f5b0a5b6c62365fbb187420fc
6 changes: 3 additions & 3 deletions trunk/net/bluetooth/mgmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ static int read_commands(struct sock *sk, struct hci_dev *hdev, void *data,
struct mgmt_rp_read_commands *rp;
const u16 num_commands = ARRAY_SIZE(mgmt_commands);
const u16 num_events = ARRAY_SIZE(mgmt_events);
u16 *opcode;
__le16 *opcode;
size_t rp_size;
int i, err;

Expand Down Expand Up @@ -2647,7 +2647,7 @@ static int load_long_term_keys(struct sock *sk, struct hci_dev *hdev,
return 0;
}

struct mgmt_handler {
static const struct mgmt_handler {
int (*func) (struct sock *sk, struct hci_dev *hdev, void *data,
u16 data_len);
bool var_len;
Expand Down Expand Up @@ -2704,7 +2704,7 @@ int mgmt_control(struct sock *sk, struct msghdr *msg, size_t msglen)
struct mgmt_hdr *hdr;
u16 opcode, index, len;
struct hci_dev *hdev = NULL;
struct mgmt_handler *handler;
const struct mgmt_handler *handler;
int err;

BT_DBG("got %zu bytes", msglen);
Expand Down

0 comments on commit deac404

Please sign in to comment.