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, 31 Mar 2011 17:25:25 +0000 (14:25 -0300)
commit105721328f0fa53e772592eaca17ee0023f0cc87
tree4a63cb200874a8c995823d7e2af1de320f28678a
parent23e9fde2b344c22c5176c7fd37b52c3776ef5aba
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