Bluetooth: Fallback to SCO on error code 0x10 (Connection Accept Timeout)
authorNick Pelly <npelly@google.com>
Mon, 30 Jun 2014 05:55:01 +0000 (11:25 +0530)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 3 Jul 2014 15:42:52 +0000 (17:42 +0200)
commit81218d2099e85542a57e266336db5e0585c9f2cc
tree719ba145d2d29dce3ef9427ac4f5d546d1d277fe
parentbf19d51b768ceeccab12f932cac73b60b1d20bab
Bluetooth: Fallback to SCO on error code 0x10 (Connection Accept Timeout)

This is to support the Motorola HF850 carkit which reports the error
code 0x10 for an eSCO attempt, even though it advertises eSCO support.

With this patch we will retry with a SCO connection, which succeeds.

Signed-off-by: Nick Pelly <npelly@google.com>
Signed-off-by: Kiran Kumar Raparthy <kiran.kumar@linaro.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_event.c