]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Update L2CAP socket source address from HCI connection
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 13 Oct 2013 12:56:37 +0000 (05:56 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Sun, 13 Oct 2013 14:48:52 +0000 (17:48 +0300)
commitc2fd74a58460479b06d2e0bb5077943a9670104e
tree3a114e561c24404cc265e4731847f12ad5c43e7c
parent062be18128295c7d7aaaaf5ce156501129698e68
Bluetooth: Update L2CAP socket source address from HCI connection

When having LE connections, the source address is not always the
public address of the controller. So update the socket address
based on the actual used source address of the HCI connection.

This also remove the pointless source address pointer and adds
a proper lock around the socket structure.

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