commit | 6f78fd4bb93e17543f2f6f25112687c633c12eb7 | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Wed Jul 30 08:35:48 2014 +0300 |
committer | Marcel Holtmann <marcel@holtmann.org> | Wed Jul 30 19:28:41 2014 +0200 |
tree | bca05443bff272d4eb95ce562eff2dc20e12eb12 | |
parent | 233351bd66f1fadc4a69f350a9a4422c2e3d308d [diff] |
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>