From 8787099ec0143e0973165b3d9b0a88525a738639 Mon Sep 17 00:00:00 2001 From: Nick Pelly Date: Fri, 14 Aug 2009 11:36:19 -0700 Subject: [PATCH] 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 Acked-by: Nick Pelly --- net/bluetooth/hci_event.c | 1 + 1 file changed, 1 insertion(+) 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) | -- 2.34.1