Bluetooth: Fix HCI_RESET command synchronization
authorGustavo F. Padovan <padovan@profusion.mobi>
Wed, 16 Mar 2011 18:36:29 +0000 (15:36 -0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Thu, 24 Mar 2011 20:04:44 +0000 (17:04 -0300)
commitf630cf0d5434e3923e1b8226ffa2753ead6b0ce5
treea53ed70a1e196b46a4c9c13320acf7bc1317fb03
parent52cb1c0d208565d8f06b743cdc6596d744f92e3b
Bluetooth: Fix HCI_RESET command synchronization

We can't send new commands before a cmd_complete for the HCI_RESET command
shows up.

Reported-by: Mikko Vinni <mmvinni@yahoo.com>
Reported-by: Justin P. Mattock <justinmattock@gmail.com>
Reported-by: Ed Tomlinson <edt@aei.ca>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Tested-by: Justin P. Mattock <justinmattock@gmail.com>
Tested-by: Mikko Vinni <mmvinni@yahoo.com>
Tested-by: Ed Tomlinson <edt@aei.ca>
include/net/bluetooth/hci.h
net/bluetooth/hci_core.c
net/bluetooth/hci_event.c