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