]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9b2be136bd3ff990b4bf677b52c068e01a06c1e9
treec20eb40b9aa5347d418ae20e0793cd91a597d6c4
parentcc5e6c61b7fdda6e44bc2ceb131b40205f21a458
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