Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp754465imw; Wed, 13 Jul 2022 07:25:48 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tgXqqRdfdI1EntDl+N7k2bdnU6zWPbQcEOwOz4G5TA0inyA0W2qPK3o1oGKgw1k8x40QU3 X-Received: by 2002:a17:906:5512:b0:726:be2c:a2e5 with SMTP id r18-20020a170906551200b00726be2ca2e5mr3772270ejp.88.1657722348112; Wed, 13 Jul 2022 07:25:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657722348; cv=none; d=google.com; s=arc-20160816; b=QnK8dSPsC8PeJPYtEJTmIsTjUOBcMfwVk6nU2U2qVtDlGsdx4rD5ZjFfNahyWCvUiT RHK+yuNoHWTg6/Ki+hwlv03koAyu0jaLNsH+BMneljx1fHq9ZWkO47x6uPPw+BgFS9Mc c3dy5KzDvVx/kecFem9AWd27d8nlRtm8kJ9EPwuYNiniuVtQbPvUWGN3nRnGSTJXKDZr zg8JNEixb6gg1GHFWNmp5Kzw9CWND1+/jJYY8950AF7nTGGo3ixFHHNbgkaRAMlptaLo VAoaA1mCB8pzmOq1dtbX2MimZlFMBpKKzd2LHum64thuKvJHQmKxpR2NmtPxIRFIA+nS jmmQ== 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 :message-id:date:subject:cc:to:from; bh=gjp3lA51RNErKYXT0plL+CoNMkdGgNNjIQjz6nw/VcQ=; b=fkRpZgEnDE6JLPu49s790LnmzlWgO1XqEqnYVZHCTW5HUKS6BGqFPC4AIQB7/7MHAn Q4/TEWLFQ5d5t6rPADMujzVbPVTv4pqimTQBTK9+PQHAH3N0DtyejGqBfLlklj7P0Q0W GJh2/t23XK32lD5G8OLQdOJ9kFZkEMzJ5xJCNFzregkgBUxr60FG6hsA6pTCzP8Jrrnd gK/SrYlf5f265vIPvDlwsZMnMgfdpmqbg7vL2fN5xVJFJoexZ7uOMjac0B0SfCD6Gjad 1QoMTNn2dgZFizsGcFbrBSwUuzl83rtLQNqCE2pgKPMG1plkvUU2oPGzZ9QXi76fIxQm wneg== 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 c18-20020a50d652000000b0043a275b0034si1216509edj.529.2022.07.13.07.25.03; Wed, 13 Jul 2022 07:25:48 -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 S235438AbiGMOSL (ORCPT + 99 others); Wed, 13 Jul 2022 10:18:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51056 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229726AbiGMOSL (ORCPT ); Wed, 13 Jul 2022 10:18:11 -0400 X-Greylist: delayed 668 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Wed, 13 Jul 2022 07:18:08 PDT Received: from erc.thregr.org (erc.thregr.org [IPv6:2001:41c9:1:41f::63]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E0BA9255B5 for ; Wed, 13 Jul 2022 07:18:08 -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 1oBd15-003L3L-2g (envelope-from ); Wed, 13 Jul 2022 16:07:04 +0200 From: Yuri D'Elia To: linux-bluetooth@vger.kernel.org Cc: Yuri D'Elia Subject: [PATCH] Bluetooth: btusb: Set HCI_QUIRK_BROKEN_ENHANCED_SETUP_SYNC_CONN for MTK Date: Wed, 13 Jul 2022 16:06:31 +0200 Message-Id: <20220713140631.79775-1-wavexx@thregr.org> X-Mailer: git-send-email 2.36.1 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 --- 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