]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerGustavo F. Padovan <padovan@profusion.mobi>
Thu, 11 Aug 2011 22:50:27 +0000 (19:50 -0300)
commit7bdb8a5cf17f66614a9897645efcd4ccc27535ee
tree21ad289a5ee0b6d7f7d4cc1522528ac7352aaabf
parent6be6b11f006840ba7d8d4b959b3fa0c522f8468a
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