summaryrefslogtreecommitdiff
path: root/drivers/bluetooth/btusb.c
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@tieto.com>2012-12-11 07:51:19 (GMT)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>2013-01-09 19:05:14 (GMT)
commitdbccd791a3fbbdac12c33834b73beff3984988e9 (patch)
tree16d06e849d101a7c14d2ebf396e131a13cd8c280 /drivers/bluetooth/btusb.c
parent5e20a4b53094651d80f856ff55a916b999dbb57a (diff)
downloadlinux-fsl-qoriq-dbccd791a3fbbdac12c33834b73beff3984988e9.tar.xz
Bluetooth: Fix sending HCI commands after reset
After sending reset command wait for its command complete event before sending next command. Some chips sends CC event for command received before reset if reset was send before chip replied with CC. This is also required by specification that host shall not send additional HCI commands before receiving CC for reset. < HCI Command: Reset (0x03|0x0003) plen 0 [hci0] 18.404612 > HCI Event: Command Complete (0x0e) plen 4 [hci0] 18.405850 Write Extended Inquiry Response (0x03|0x0052) ncmd 1 Status: Success (0x00) < HCI Command: Read Local Supported Features (0x04|0x0003) plen 0 [hci0] 18.406079 > HCI Event: Command Complete (0x0e) plen 4 [hci0] 18.407864 Reset (0x03|0x0003) ncmd 1 Status: Success (0x00) < HCI Command: Read Local Supported Features (0x04|0x0003) plen 0 [hci0] 18.408062 > HCI Event: Command Complete (0x0e) plen 12 [hci0] 18.408835 Signed-off-by: Szymon Janc <szymon.janc@tieto.com> Cc: stable@vger.kernel.org Acked-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'drivers/bluetooth/btusb.c')
0 files changed, 0 insertions, 0 deletions