summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/hidp/core.c
diff options
context:
space:
mode:
authorJohan Hedberg2014-07-30 07:35:48 +0200
committerMarcel Holtmann2014-07-30 19:28:41 +0200
commit6f78fd4bb93e17543f2f6f25112687c633c12eb7 (patch)
treebca05443bff272d4eb95ce562eff2dc20e12eb12 /net/bluetooth/hidp/core.c
parent6lowpan: remove unused function (diff)
downloadkernel-qcow2-linux-6f78fd4bb93e17543f2f6f25112687c633c12eb7.tar.gz
kernel-qcow2-linux-6f78fd4bb93e17543f2f6f25112687c633c12eb7.tar.xz
kernel-qcow2-linux-6f78fd4bb93e17543f2f6f25112687c633c12eb7.zip
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 <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/hidp/core.c')
0 files changed, 0 insertions, 0 deletions