smp.c (68d6f6ded5bdaa89f9da0144359a7c5565991f8d) smp.c (387a33e304caeeabf0c2439607fa6e726666bdf0)
1/*
2 BlueZ - Bluetooth protocol stack for Linux
3 Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
4
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License version 2 as
7 published by the Free Software Foundation;
8

--- 977 unchanged lines hidden (view full) ---

986
987 hci_add_irk(conn->hcon->hdev, &smp->id_addr, smp->id_addr_type,
988 smp->irk, &rpa);
989
990 /* Track the connection based on the Identity Address from now on */
991 bacpy(&hcon->dst, &smp->id_addr);
992 hcon->dst_type = smp->id_addr_type;
993
1/*
2 BlueZ - Bluetooth protocol stack for Linux
3 Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
4
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License version 2 as
7 published by the Free Software Foundation;
8

--- 977 unchanged lines hidden (view full) ---

986
987 hci_add_irk(conn->hcon->hdev, &smp->id_addr, smp->id_addr_type,
988 smp->irk, &rpa);
989
990 /* Track the connection based on the Identity Address from now on */
991 bacpy(&hcon->dst, &smp->id_addr);
992 hcon->dst_type = smp->id_addr_type;
993
994 l2cap_conn_update_id_addr(hcon);
995
994 smp_distribute_keys(conn, 1);
995
996 return 0;
997}
998
999int smp_sig_channel(struct l2cap_conn *conn, struct sk_buff *skb)
1000{
1001 struct hci_conn *hcon = conn->hcon;

--- 191 unchanged lines hidden ---
996 smp_distribute_keys(conn, 1);
997
998 return 0;
999}
1000
1001int smp_sig_channel(struct l2cap_conn *conn, struct sk_buff *skb)
1002{
1003 struct hci_conn *hcon = conn->hcon;

--- 191 unchanged lines hidden ---