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)
committerJaikumar Ganesh <jaikumar@google.com>
Fri, 12 Aug 2011 01:18:45 +0000 (18:18 -0700)
commitdfe4ecda301b6f01c845fc56439cdf7d351e2961
treeac69026c911af792083c7e7c78a32f44714f5516
parent9abd59b0df155835a970c2b9c8f93367eb793797
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