aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGustavo F. Padovan <padovan@profusion.mobi>2011-03-16 15:36:29 -0300
committerGustavo F. Padovan <padovan@profusion.mobi>2011-03-24 17:04:44 -0300
commitf630cf0d5434e3923e1b8226ffa2753ead6b0ce5 (patch)
treea53ed70a1e196b46a4c9c13320acf7bc1317fb03 /include
parent52cb1c0d208565d8f06b743cdc6596d744f92e3b (diff)
downloadkernel_samsung_smdk4412-f630cf0d5434e3923e1b8226ffa2753ead6b0ce5.zip
kernel_samsung_smdk4412-f630cf0d5434e3923e1b8226ffa2753ead6b0ce5.tar.gz
kernel_samsung_smdk4412-f630cf0d5434e3923e1b8226ffa2753ead6b0ce5.tar.bz2
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>
Diffstat (limited to 'include')
-rw-r--r--include/net/bluetooth/hci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h
index ec6acf2..2c0d309 100644
--- a/include/net/bluetooth/hci.h
+++ b/include/net/bluetooth/hci.h
@@ -84,6 +84,8 @@ enum {
HCI_SERVICE_CACHE,
HCI_LINK_KEYS,
HCI_DEBUG_KEYS,
+
+ HCI_RESET,
};
/* HCI ioctl defines */