diff options
author | Vinicius Costa Gomes <vinicius.gomes@openbossa.org> | 2011-07-07 17:59:42 -0400 |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-07-08 16:37:22 -0400 |
commit | 0eb08e339836989557ea3aa4c427377bd32ce19c (patch) | |
tree | e134d10f61d921f0fff231aea8778ef2a27c130b /net/bluetooth | |
parent | 02bc74556a3f1b26adf3feb372376c56ba990564 (diff) |
Bluetooth: Remove unused field in hci_conn
Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@openbossa.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'net/bluetooth')
-rw-r--r-- | net/bluetooth/smp.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/bluetooth/smp.c b/net/bluetooth/smp.c index 5b7217919202..a8b971b75a67 100644 --- a/net/bluetooth/smp.c +++ b/net/bluetooth/smp.c | |||
@@ -367,8 +367,6 @@ static u8 smp_cmd_pairing_random(struct l2cap_conn *conn, struct sk_buff *skb) | |||
367 | swap128(skb->data, random); | 367 | swap128(skb->data, random); |
368 | skb_pull(skb, sizeof(random)); | 368 | skb_pull(skb, sizeof(random)); |
369 | 369 | ||
370 | memset(hcon->ltk, 0, sizeof(hcon->ltk)); | ||
371 | |||
372 | if (conn->hcon->out) | 370 | if (conn->hcon->out) |
373 | ret = smp_c1(tfm, conn->tk, random, conn->preq, conn->prsp, 0, | 371 | ret = smp_c1(tfm, conn->tk, random, conn->preq, conn->prsp, 0, |
374 | conn->src, conn->hcon->dst_type, conn->dst, | 372 | conn->src, conn->hcon->dst_type, conn->dst, |