Bluetooth: Remove redundant (and possibly wrong) flag clearing
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 21 Oct 2015 15:03:07 +0000 (18:03 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 21 Oct 2015 16:57:03 +0000 (18:57 +0200)
commit1ede9868f6577e2bd7eda1a05cd6812aff5c6c8a
treede2162dc01468fac73521fe42f81c5b067565551
parentb5c2b6214c609f2be4c020c0be90758b5feeb446
Bluetooth: Remove redundant (and possibly wrong) flag clearing

There's no need to clear the HCI_CONN_ENCRYPT_PEND flag in
smp_failure. In fact, this may cause the encryption tracking to get
out of sync as this has nothing to do with HCI activity.

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