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)
commitce39fb4e45a4315fcdf75ef25d61281e946ebb07
treee65311ca736da74d1480d727cb4c1951f1040079
parentbdc8ead27c71b4d3f3e883b0bf3f279a18a6f590
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