]> 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)
commit334f54dc63b5a3c8e2841c0f9ba06af597800b18
treec20eb40b9aa5347d418ae20e0793cd91a597d6c4
parent392f2d535ebfc7bf8fd617afe32ff4f5948e8f61
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