From: Johan Hedberg Date: Tue, 28 Jan 2014 23:16:50 +0000 (-0800) Subject: Bluetooth: Refuse peer RFCOMM address reading when not connected X-Git-Tag: v3.15-rc1~113^2~159^2^2~130^2~101 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35364c99d20edc7329843e2a6dad6851d77eafd7;p=pandora-kernel.git 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 Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed