Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 321996
b: refs/heads/master
c: d08fd0e
h: refs/heads/master
v: v3
  • Loading branch information
Andrei Emeltchenko authored and Gustavo Padovan committed Aug 6, 2012
1 parent 2721751 commit 91d3b3e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: c3e7c0d90b14a3e7ac091d24cef09efb516d587b
refs/heads/master: d08fd0e712a834d4abb869c0215a702e290bc51e
5 changes: 4 additions & 1 deletion trunk/net/bluetooth/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -579,8 +579,11 @@ static u8 smp_cmd_pairing_req(struct l2cap_conn *conn, struct sk_buff *skb)

if (!test_and_set_bit(HCI_CONN_LE_SMP_PEND, &conn->hcon->flags))
smp = smp_chan_create(conn);
else
smp = conn->smp_chan;

smp = conn->smp_chan;
if (!smp)
return SMP_UNSPECIFIED;

smp->preq[0] = SMP_CMD_PAIRING_REQ;
memcpy(&smp->preq[1], req, sizeof(*req));
Expand Down

0 comments on commit 91d3b3e

Please sign in to comment.