Bluetooth: Fallback eSCO to SCO on error 0x1a (Unsupported Remote Feature)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Wednesday, February 10, 2010 - 8:59 am

Gitweb:     http://git.kernel.org/linus/1038a00b458997661bcd0e780a24dc280a8841fc
Commit:     1038a00b458997661bcd0e780a24dc280a8841fc
Parent:     f98bfbd78c37c5946cc53089da32a5f741efdeb7
Author:     Nick Pelly <npelly@google.com>
AuthorDate: Wed Feb 3 11:42:26 2010 -0800
Committer:  Marcel Holtmann <marcel@holtmann.org>
CommitDate: Wed Feb 3 12:05:01 2010 -0800

    Bluetooth: Fallback eSCO to SCO on error 0x1a (Unsupported Remote Feature)
    
    General Motors carkits that use LGE BT chipsets return this error code
    when an eSCO is attempted, despite advertising eSCO support.
    
    2009-08-13 14:41:39.755518 < HCI Command: Setup Synchronous Connection (0x01|0x0028) plen 17
       handle 1 voice setting 0x0060
    2009-08-13 14:41:39.757563 > HCI Event: Command Status (0x0f) plen 4
       Setup Synchronous Connection (0x01|0x0028) status 0x00 ncmd 1
    2009-08-13 14:41:39.789484 > HCI Event: Synchronous Connect Complete (0x2c) plen 17
       status 0x1a handle 257 bdaddr 00:1E:B2:23:5E:B3 type eSCO
       Error: Unsupported Remote Feature / Unsupported LMP Feature
    
    Signed-off-by: Jaikumar Ganesh <jaikumar@google.com>
    Signed-off-by: Nick Pelly <npelly@google.com>
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
---
 net/bluetooth/hci_event.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/net/bluetooth/hci_event.c b/net/bluetooth/hci_event.c
index 28517ba..592da5c 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 Remote Feature */
 	case 0x1f:	/* Unspecified error */
 		if (conn->out && conn->attempt < 2) {
 			conn->pkt_type = (hdev->esco_type & SCO_ESCO_MASK) |
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Bluetooth: Fallback eSCO to SCO on error 0x1a (Unsupported ..., Linux Kernel Mailing ..., (Wed Feb 10, 8:59 am)