From patchwork Wed Jul 13 15:29:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yuri D'Elia X-Patchwork-Id: 12916903 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 32AA3C433EF for ; Wed, 13 Jul 2022 15:29:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236783AbiGMP3d (ORCPT ); Wed, 13 Jul 2022 11:29:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230466AbiGMP3b (ORCPT ); Wed, 13 Jul 2022 11:29:31 -0400 Received: from erc.thregr.org (erc.thregr.org [IPv6:2001:41c9:1:41f::63]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30EC64D4D1 for ; Wed, 13 Jul 2022 08:29:30 -0700 (PDT) Received: from [37.162.93.81] (helo=localhost) by erc.thregr.org with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) id 1oBeIv-003MwY-0l (envelope-from ); Wed, 13 Jul 2022 17:29:33 +0200 From: Yuri D'Elia To: linux-bluetooth@vger.kernel.org Cc: Yuri D'Elia Subject: [PATCH v2] Bluetooth: btusb: Set HCI_QUIRK_BROKEN_ENHANCED_SETUP_SYNC_CONN for MTK Date: Wed, 13 Jul 2022 17:29:13 +0200 Message-Id: <20220713152913.87328-1-wavexx@thregr.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220713140631.79775-1-wavexx@thregr.org> References: <20220713140631.79775-1-wavexx@thregr.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org This sets HCI_QUIRK_BROKEN_ENHANCED_SETUP_SYNC_CONN for MTK controllers since SCO appear to not work when using HCI_OP_ENHANCED_SETUP_SYNC_CONN. Link: https://bugzilla.kernel.org/show_bug.cgi?id=215576 Signed-off-by: Yuri D'Elia --- drivers/bluetooth/btusb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index e25fcd49db..d5da862fab 100644 --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c @@ -3795,6 +3795,7 @@ static int btusb_probe(struct usb_interface *intf, hdev->manufacturer = 70; hdev->cmd_timeout = btusb_mtk_cmd_timeout; hdev->set_bdaddr = btmtk_set_bdaddr; + set_bit(HCI_QUIRK_BROKEN_ENHANCED_SETUP_SYNC_CONN, &hdev->quirks); set_bit(HCI_QUIRK_NON_PERSISTENT_SETUP, &hdev->quirks); data->recv_acl = btusb_recv_acl_mtk; }