From: Nick Pelly Date: Fri, 14 Aug 2009 18:36:19 +0000 (-0700) Subject: Bluetooth: Fallback from eSCO to SCO on error code 0x1a (unsupported feature). X-Git-Tag: firefly_0821_release~11674 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8787099ec0143e0973165b3d9b0a88525a738639;p=firefly-linux-kernel-4.4.55.git 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 --- 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) |