Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 306839
b: refs/heads/master
c: 61386cb
h: refs/heads/master
i:
  306837: c7da3ca
  306835: b939ae2
  306831: 8e18ccb
v: v3
  • Loading branch information
Andrei Emeltchenko authored and Gustavo Padovan committed May 9, 2012
1 parent c0d013f commit 1607db7
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: 58115373e74c7ee18d0f54f00831649a6471a899
refs/heads/master: 61386cba0fae4744b8e2f52c4911fe3af9ff6c54
6 changes: 3 additions & 3 deletions trunk/net/bluetooth/l2cap_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -2957,14 +2957,14 @@ static inline int l2cap_config_rsp(struct l2cap_conn *conn, struct l2cap_cmd_hdr
struct l2cap_conf_rsp *rsp = (struct l2cap_conf_rsp *)data;
u16 scid, flags, result;
struct l2cap_chan *chan;
int len = cmd->len - sizeof(*rsp);
int len = le16_to_cpu(cmd->len) - sizeof(*rsp);

scid = __le16_to_cpu(rsp->scid);
flags = __le16_to_cpu(rsp->flags);
result = __le16_to_cpu(rsp->result);

BT_DBG("scid 0x%4.4x flags 0x%2.2x result 0x%2.2x",
scid, flags, result);
BT_DBG("scid 0x%4.4x flags 0x%2.2x result 0x%2.2x len %d", scid, flags,
result, len);

chan = l2cap_get_chan_by_scid(conn, scid);
if (!chan)
Expand Down

0 comments on commit 1607db7

Please sign in to comment.