Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp825436imw; Wed, 13 Jul 2022 08:37:03 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tgWAucLJ86vmIcKBblSK+2L2yI1JRZvygwTDlomWE0NBWEGO63dtJuUdvgNBdmxBIMZ5JM X-Received: by 2002:a05:6402:3551:b0:43a:a5c0:2fbc with SMTP id f17-20020a056402355100b0043aa5c02fbcmr5659069edd.288.1657726623596; Wed, 13 Jul 2022 08:37:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657726623; cv=none; d=google.com; s=arc-20160816; b=jFkPCp5f1kNJxbyTOHUdk0RPpUtUfSMdNOiYA0G3vbb2R2Lfc66azrTbpEjtZPdVta sx7qsK3WNCBmg/oPXH2fXyMcX7yFQ68TER2PUqWDkO6B/c0h9WjYvT8BVvL44eU9z0US Zuwld/p6iFul/RH+r14p2mzYoi8mkJTG7beC5b5igSY32ZqBTHRrfUwU60XmgThsDkET NFQPwONPFOCgrABfTpqfl+0bgklEqVfPJJTfMcwZi0DIaYSOIhdKw9nw7xExnIAzRoAB +lQE43nb4WfrXMGihYdgOL/gOiDU6uYlBwgaFgbEsRBDOP1SMk5UQE6CnXz93DDimvRe Q9Zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=Vt3EeSmRLreqgyn0MafgME4llFJQt4B0oi73r+/aQc8=; b=jBoSGP9RMDA1cHd9Nwjyaz5/piEL8PMS+QxwP2Pq8KdNfAYX3wDbyiEhKm4ahfpN7z n8qYJuiSpzgSLnyY9DmPZeeivjHwTyKTj2c8yDrIHL+acRsBU4Rj0x0MM/YUGAYrXsfh j93nR9hYDicIYlTNZNn3AWJxeSSSV24U200O5CCKZGdSPC4ZZTH8UwmzQqGsOTFxpFRb 7EYhp0tjP2foRpaOTTdYwZf831wpFNBA3PFRbuWIKLMf7GdJrfC7cTL8D3//50Sp0fl+ vSymobt1vkCDRVvvu5qvSkend/O6oEErLwDwZjaYlXVS1q6BJrMWuakaEpF5Z+l26khx bdrQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e1-20020a056402330100b0043aa1df218dsi16701265eda.460.2022.07.13.08.36.12; Wed, 13 Jul 2022 08:37:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236387AbiGMP3d (ORCPT + 99 others); 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 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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; } -- 2.36.1