summaryrefslogtreecommitdiffstats
path: root/net/socket.c
diff options
context:
space:
mode:
authorJohan Hedberg2014-01-29 00:16:50 +0100
committerJohan Hedberg2014-02-13 08:51:39 +0100
commit35364c99d20edc7329843e2a6dad6851d77eafd7 (patch)
tree2710e8fc985f8af341fa03a2c6d86dfc75ed9433 /net/socket.c
parentBluetooth: Refuse peer L2CAP address reading when not connected (diff)
downloadkernel-qcow2-linux-35364c99d20edc7329843e2a6dad6851d77eafd7.tar.gz
kernel-qcow2-linux-35364c99d20edc7329843e2a6dad6851d77eafd7.tar.xz
kernel-qcow2-linux-35364c99d20edc7329843e2a6dad6851d77eafd7.zip
Bluetooth: Refuse peer RFCOMM address reading when not connected
When we're not connected the peer address information is undefined. This patch fixes the remote address getting to return a proper error in case the sate is anything else than BT_CONNECTED. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/socket.c')
0 files changed, 0 insertions, 0 deletions