Bluetooth: Fix using HCI_CONN_LE_SMP_PEND to check for SMP context
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 8 Aug 2014 06:28:05 +0000 (09:28 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 14 Aug 2014 06:49:16 +0000 (08:49 +0200)
commitd3368605591b88cd8af522adadb1c460a8f8e7bb
tree7b6fa2048b0b9fcec169f0c7d1fe209676ce7e69
parent79a0572736ad4b9cac7be72d4402f9c79db8ebaf
Bluetooth: Fix using HCI_CONN_LE_SMP_PEND to check for SMP context

The code is consistently using the HCI_CONN_LE_SMP_PEND flag check for
the existence of the SMP context, with the exception of this one place
in smp_sig_channel(). This patch converts the place to use the flag just
like all other instances.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/smp.c