aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorNick Pelly <npelly@google.com>2014-06-30 01:55:01 -0400
committerMarcel Holtmann <marcel@holtmann.org>2014-07-03 11:42:52 -0400
commit81218d2099e85542a57e266336db5e0585c9f2cc (patch)
tree719ba145d2d29dce3ef9427ac4f5d546d1d277fe /net
parentbf19d51b768ceeccab12f932cac73b60b1d20bab (diff)
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>
Diffstat (limited to 'net')
-rw-r--r--net/bluetooth/hci_event.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bluetooth/hci_event.c b/net/bluetooth/hci_event.c
index 315d615ca3f9..fe7a54b65e55 100644
--- a/net/bluetooth/hci_event.c
+++ b/net/bluetooth/hci_event.c
@@ -3408,6 +3408,7 @@ static void hci_sync_conn_complete_evt(struct hci_dev *hdev,
3408 hci_conn_add_sysfs(conn); 3408 hci_conn_add_sysfs(conn);
3409 break; 3409 break;
3410 3410
3411 case 0x10: /* Connection Accept Timeout */
3411 case 0x0d: /* Connection Rejected due to Limited Resources */ 3412 case 0x0d: /* Connection Rejected due to Limited Resources */
3412 case 0x11: /* Unsupported Feature or Parameter Value */ 3413 case 0x11: /* Unsupported Feature or Parameter Value */
3413 case 0x1c: /* SCO interval rejected */ 3414 case 0x1c: /* SCO interval rejected */