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>
backported from commit f630cf0d5434e3923e1b8226ffa2753ead6b0ce5 upstream
[Justin P. Mattock: backported to stable. did not have the time to
compile test this, but patch applies.]
[apw@canonical.com: fixed up missing close brace.]
BugLink: http://bugs.launchpad.net/bugs/700292
Signed-off-by: Andy Whitcroft <apw@canonical.com>
---
include/net/bluetooth/hci.h | 1 +
net/bluetooth/hci_core.c | 5 ++++-
net/bluetooth/hci_event.c | 4 +++-
3 files changed, 8 insertions(+), 2 deletions(-)