Bluetooth: Fallback from eSCO to SCO on error code 0x1a (unsupported feature).
authorNick Pelly <npelly@google.com>
Fri, 14 Aug 2009 18:36:19 +0000 (11:36 -0700)
committerArve Hjønnevåg <arve@android.com>
Mon, 8 Feb 2010 23:35:57 +0000 (15:35 -0800)
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>
net/bluetooth/hci_event.c

index e99fe385fba293d6a7fe2c558b7d454f669f52b8..5c495893bc07131faab258b539b0e2693b2691f9 100644 (file)
@@ -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) |