diff options
| author | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-03-16 15:36:29 -0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-04-21 14:32:59 -0700 |
| commit | 2951119b25479349af6ebf1bfa3111bee3c29896 (patch) | |
| tree | 20b5075ee11073de666a7b5b7456721cfe039665 /include | |
| parent | dedac5a7b2df0bade917238934c6c7c645280137 (diff) | |
| download | linux-2951119b25479349af6ebf1bfa3111bee3c29896.tar.gz linux-2951119b25479349af6ebf1bfa3111bee3c29896.tar.bz2 linux-2951119b25479349af6ebf1bfa3111bee3c29896.zip | |
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>
Diffstat (limited to 'include')
| -rw-r--r-- | include/net/bluetooth/hci.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h index 29a7a8ca0438..84d3b23f4532 100644 --- a/include/net/bluetooth/hci.h +++ b/include/net/bluetooth/hci.h @@ -76,6 +76,8 @@ enum { HCI_INQUIRY, HCI_RAW, + + HCI_RESET, }; /* HCI ioctl defines */ |
