]> 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>
Mon, 1 Aug 2011 19:35:09 +0000 (16:35 -0300)
commit1b34d4e1af2aa22c151436bcb51bb1424fcb4f26
tree0ac081de27f60bf2594d52212bc430609e5f5d04
parent7d7185294d8379c92d23655218150d1b9562f65e
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