diff options
author | Johan Hedberg | 2014-01-29 00:16:50 +0100 |
---|---|---|
committer | Johan Hedberg | 2014-02-13 08:51:39 +0100 |
commit | 35364c99d20edc7329843e2a6dad6851d77eafd7 (patch) | |
tree | 2710e8fc985f8af341fa03a2c6d86dfc75ed9433 /init | |
parent | Bluetooth: Refuse peer L2CAP address reading when not connected (diff) | |
download | kernel-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 'init')
0 files changed, 0 insertions, 0 deletions