]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Bluetooth: Fix HCI_RESET command synchronization
authorGustavo F. Padovan <padovan@profusion.mobi>
Wed, 16 Mar 2011 18:36:29 +0000 (15:36 -0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 21 Apr 2011 21:32:59 +0000 (14:32 -0700)
commit2951119b25479349af6ebf1bfa3111bee3c29896
tree20b5075ee11073de666a7b5b7456721cfe039665
parentdedac5a7b2df0bade917238934c6c7c645280137
Bluetooth: Fix HCI_RESET command synchronization

commit f630cf0d5434e3923e1b8226ffa2753ead6b0ce5 upstream.

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