From: Johan Hedberg Date: Wed, 30 Jul 2014 05:35:48 +0000 (+0300) Subject: Bluetooth: Fix check for connected state when pairing X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~12^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f78fd4bb93e17543f2f6f25112687c633c12eb7;p=pandora-kernel.git Bluetooth: Fix check for connected state when pairing Both BT_CONNECTED and BT_CONFIG state mean that we have a baseband link available. We should therefore check for either of these when pairing and deciding whether to call hci_conn_security() directly. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed