diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2013-10-13 23:55:29 +0400 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2013-10-14 00:13:37 +0400 |
commit | 2edf870d198adeb43d5a2a5ddfa7e3cea4fc999b (patch) | |
tree | a1bf8bd37518697e3dd7b3be469d0d587f229876 /net/bluetooth/af_bluetooth.c | |
parent | d97636980f6ba7344c8aa6fa349b9059c60ee478 (diff) | |
download | linux-2edf870d198adeb43d5a2a5ddfa7e3cea4fc999b.tar.xz |
Bluetooth: Provide msg_name callback for L2CAP connectionless channels
The L2CAP connectionless channels use SOCK_DGRAM and recvmsg() and need
to receive the remote BD_ADDR and PSM information via msg_name from
the recvmsg() system call.
So in case the L2CAP socket is for connectionless channels, provide
a msg_name callback that can update the data. Also store the remote
BD_ADDR and PSM in the skb so it can be extracted later on.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'net/bluetooth/af_bluetooth.c')
0 files changed, 0 insertions, 0 deletions