summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorNick Pelly <npelly@google.com>2009-08-14 11:36:19 -0700
committerArve Hjønnevåg <arve@android.com>2010-02-08 15:35:57 -0800
commit8787099ec0143e0973165b3d9b0a88525a738639 (patch)
treec1b56a41311cdf8f3d41881075b9847280cc91d4 /net
parent8a4424765e8daaf56a2d8a0e0ab9dfcf859879fa (diff)
Bluetooth: Fallback from eSCO to SCO on error code 0x1a (unsupported feature).
GM carkits with LGE BT chipsets return this error code when eSCO is attempted. Signed-off-by: Jaikumar Ganesh <jaikumar@google.com> Acked-by: Nick Pelly <npelly@google.com>
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 e99fe385fba2..5c495893bc07 100644
--- a/net/bluetooth/hci_event.c
+++ b/net/bluetooth/hci_event.c
@@ -1699,6 +1699,7 @@ static inline void hci_sync_conn_complete_evt(struct hci_dev *hdev, struct sk_bu
break;
case 0x1c: /* SCO interval rejected */
+ case 0x1a: /* unsupported feature */
case 0x1f: /* Unspecified error */
if (conn->out && conn->attempt < 2) {
conn->pkt_type = (hdev->esco_type & SCO_ESCO_MASK) |