]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Store address information in L2CAP channel structure
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 13 Oct 2013 15:12:47 +0000 (08:12 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Sun, 13 Oct 2013 15:52:01 +0000 (18:52 +0300)
commitf2f303b80699ea3c5d0072fa473a33d2b614a126
treea4c694fb05f051d3dda4a50f7dcf0a021d6ac039
parentc2fd74a58460479b06d2e0bb5077943a9670104e
Bluetooth: Store address information in L2CAP channel structure

With the effort of abstracting the L2CAP socket from the underlying
L2CAP channel it is important to store the source and destination
address information directly in the L2CAP channel structure.

Direct access to the HCI connection address information is not
possible since they might not be avaiable at L2CAP channel
creation time. The address information will be updated when
the underlying BR/EDR or LE connection status changes.

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