Bluetooth: Don't use cmd_timer to timeout HCI reset command
authorSzymon Janc <szymon@janc.net.pl>
Tue, 26 Jul 2011 20:46:54 +0000 (22:46 +0200)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 20:22:44 +0000 (12:22 -0800)
commit39970b6a457d7db568ff1ebd87c987f9f264422a
tree41bac83a8a4f09254f8c7f055d58fcefb0031aa0
parent180fe614da1acf98c6ce435b9de49dbcac956981
Bluetooth: Don't use cmd_timer to timeout HCI reset command

No command should be send before Command Complete event for HCI
reset is received. This fix regression introduced by commit
6bd32326cda(Bluetooth: Use proper timer for hci command timout)
for chips whose reset command takes longer to complete (e.g. CSR)
resulting in next command being send before HCI reset completed.

Signed-off-by: Szymon Janc <szymon@janc.net.pl>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/hci_core.c