Bluetooth: Added support for HFP 1.6 Wide Band Speech

Signed-off-by: Kun Han Kim <kunhank@codeaurora.org>
Change-Id: Ibc34a0170c1744ff50503a2c0c57dea721715aa8
This commit is contained in:
Kun Han Kim
2011-07-08 09:30:28 -07:00
committed by Stephen Boyd
parent 706754941e
commit d69ac7ee48
6 changed files with 53 additions and 9 deletions

View File

@@ -2699,7 +2699,9 @@ static inline void hci_sync_conn_complete_evt(struct hci_dev *hdev, struct sk_bu
case 0x1a: /* Unsupported Remote Feature */
case 0x1f: /* Unspecified error */
if (conn->out && conn->attempt < 2) {
conn->pkt_type = (hdev->esco_type & SCO_ESCO_MASK) |
if (!conn->hdev->is_wbs)
conn->pkt_type =
(hdev->esco_type & SCO_ESCO_MASK) |
(hdev->esco_type & EDR_ESCO_MASK);
hci_setup_sync(conn, conn->link->handle);
goto unlock;