Bluetooth: Remove unnecessary checks after canceling SMP security timer
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 5 Sep 2014 19:19:48 +0000 (22:19 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 8 Sep 2014 17:07:55 +0000 (19:07 +0200)
commit1b0921d6be7860271ccf6027891b8215fc28cde5
treec20eb40b9aa5347d418ae20e0793cd91a597d6c4
parent434714dc02b286d3f21179c651a6f1a84e199eb7
Bluetooth: Remove unnecessary checks after canceling SMP security timer

The SMP security timer used to be able to modify the SMP context state
but now days it simply calls hci_disconnect(). It is therefore
unnecessary to have extra sanity checks for the SMP context after
canceling the timer.

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