mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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>
This commit is contained in:
parent
02bc74556a
commit
0eb08e3398
2 changed files with 0 additions and 3 deletions
|
@ -265,7 +265,6 @@ struct hci_conn {
|
||||||
__u8 power_save;
|
__u8 power_save;
|
||||||
__u16 disc_timeout;
|
__u16 disc_timeout;
|
||||||
unsigned long pend;
|
unsigned long pend;
|
||||||
__u8 ltk[16];
|
|
||||||
|
|
||||||
__u8 remote_cap;
|
__u8 remote_cap;
|
||||||
__u8 remote_oob;
|
__u8 remote_oob;
|
||||||
|
|
|
@ -367,8 +367,6 @@ static u8 smp_cmd_pairing_random(struct l2cap_conn *conn, struct sk_buff *skb)
|
||||||
swap128(skb->data, random);
|
swap128(skb->data, random);
|
||||||
skb_pull(skb, sizeof(random));
|
skb_pull(skb, sizeof(random));
|
||||||
|
|
||||||
memset(hcon->ltk, 0, sizeof(hcon->ltk));
|
|
||||||
|
|
||||||
if (conn->hcon->out)
|
if (conn->hcon->out)
|
||||||
ret = smp_c1(tfm, conn->tk, random, conn->preq, conn->prsp, 0,
|
ret = smp_c1(tfm, conn->tk, random, conn->preq, conn->prsp, 0,
|
||||||
conn->src, conn->hcon->dst_type, conn->dst,
|
conn->src, conn->hcon->dst_type, conn->dst,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue