]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Remove l2cap_conn->src and l2cap_conn->dst usage from SMP
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 13 Oct 2013 09:23:39 +0000 (02:23 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Sun, 13 Oct 2013 14:45:01 +0000 (17:45 +0300)
commitfa297ec7f9cc94f747321b04e8bc7fe691fddbe7
treee65311ca736da74d1480d727cb4c1951f1040079
parent8c67a322dbf59f1527037378dc01f65040aa255d
Bluetooth: Remove l2cap_conn->src and l2cap_conn->dst usage from SMP

The l2cap_conn->src and l2cap_conn->dst addresses are just a pointer
to hci_conn->hdev->bdaddr and hci_conn->dst structures. Use the data
provided by hci_conn directly. This is done for hci_conn->dst_type
already anyway and with this change it makes it a lot clearer were
the address information comes from.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/smp.c