Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp7994197rwl; Tue, 10 Jan 2023 07:49:56 -0800 (PST) X-Google-Smtp-Source: AMrXdXucC3+3b7liaT2+4mF/VGP7GCpWfX09P8NECdboPArCUbS6AWIGJvpB1LqrxEDuHicVmfY3 X-Received: by 2002:aa7:d30d:0:b0:499:1ed2:6459 with SMTP id p13-20020aa7d30d000000b004991ed26459mr8884565edq.20.1673365796422; Tue, 10 Jan 2023 07:49:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673365796; cv=none; d=google.com; s=arc-20160816; b=pWvkxJSYmi5Z3jzcTsgC+TxLwTu6ippmuORrEoobs0bbkUbeTuujW9jL/xsKqebm7C 9zoi9z6jZDT2oLleJv85jEnSxcrBMqO3QLlLXzJFct/pppyjzUHYXsp9u0Zy+gdZgqqU vVQt2lBe48IVEP+R4zej6fN46YsqK+MjhmfIRDsrR/I/XgIBpGWUKHhneoSnReNRHO6Q NKHl1oJ7QBeG9DR3pWE4WHec69snSay2VaYE5wHSPQHuaDeejyAGBBi77Qhtk2lFgtOA 8i3RMgIJu0ic450np8cb9uSgSARvpXi5zg6uBbONiaPEl494D+gTocdzcIkB6/2TypGq Fr1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:references :cc:to:from:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=fvskllAMxjpoYxy8x91Ay3wHk+edHsNAvSmQ+G4D/28=; b=ef0cYnIFhd+Zpxk4q2G1gSOS5HyRnHtv9sC+B2GG+Rs+KmE9UDufT0l0gx7N+jujSL DYcO/7BKgX3ytoOozYCmQ34w/rEaDWpERZ6fpcWWIkBc9TdOnA/SdjMxV972eE1vvBzM qWmEc5+d1muOKDNnIDO1qXpdbwmXAGOOMtd65JepJE7YbyAWhduU5thLsrBXNNWZPk5s fnhTVNto9S/PAxXWaTg6nN5rlUoeKq+3nqlYKiQbOvoub2Mp5MIBCY7jSzmfIhbWETTZ IdLNAwMn/7NQkz09DYBdUDkwA8lPsGR/25ORW2NXrSGlcXD5FB7lfWnwfu/fuboxcGVx wM9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="M2e2m0o/"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t2-20020a056402524200b004891744739esi14125144edd.570.2023.01.10.07.49.39; Tue, 10 Jan 2023 07:49:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-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; dkim=pass header.i=@gmail.com header.s=20210112 header.b="M2e2m0o/"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238249AbjAJPmp (ORCPT + 65 others); Tue, 10 Jan 2023 10:42:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48076 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233939AbjAJPmo (ORCPT ); Tue, 10 Jan 2023 10:42:44 -0500 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6974E3FC91 for ; Tue, 10 Jan 2023 07:42:42 -0800 (PST) Received: by mail-ej1-x62c.google.com with SMTP id u9so29802933ejo.0 for ; Tue, 10 Jan 2023 07:42:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=fvskllAMxjpoYxy8x91Ay3wHk+edHsNAvSmQ+G4D/28=; b=M2e2m0o/SO/SkR3TdYczdGi2OcFE75a0cGVpRPpAa2m46IVI7Qm+RJMd40tKr9NkOv aDgbggUcO6WLqPeAzzFJyxJOj0rH6TShM3P6kuX7JDoJdvhJS+ArBylpnTcKQxZDU4Ew nyJ2oB3P2G696Q+OSNAu1iJ3/uPgZnKBejr6LOnzf3FE8xlolX5Z9EsA9vcXRDU6JZpd Yd52sjZ7FQ+a4RcGuJu3+Va5w4ryQav7io9PU+z+oskKPlO9uwO7kCTTmAd4FwfGnQxV oeTHSVVPOXvHO4P7Zi5T1DUsnPp2KYb7e0iiLqL8AnudNV81dvocETbhECDRFu+fCegz bWOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=fvskllAMxjpoYxy8x91Ay3wHk+edHsNAvSmQ+G4D/28=; b=JCNMfUqAfbzU/nhpfMrW9j9bEzRATuGLWdqycDNFPqWa4Kgqr+dn//71wyyIN5kkdY Pb7uj+I1x56QmKqQ4XDbPxZHpEf5UygNaUsA8S5/zeWnbLKmOpGGAD2KEktUBcFe4soM TuxLW7RCCsvTt5415NTS1pzfiqP+TZqPrutky9Qz9XIGV0nlx4x1UakEjsr2UjDa84zv aO94DSu+DPNyF7Kp5JiIrGQD69InaUca1GvNa0B/UbcpYQj3InXU44XxrK9fCct0evqC wAw7VA53GOoDqF17mH4S0wpRvZTJo6VqeNlgkrKxLG5fm4FmXZk9/ee/cHDpRImxYcfa D7nQ== X-Gm-Message-State: AFqh2krA4WKakqXEQCvZj0j9Cei5HQwViqahYYMMcIFffBjkt7SUi7RT UK4E1mbSVa8X/dZwKaJ/n+HUxZjhBfU= X-Received: by 2002:a17:906:d205:b0:7c1:51ee:a2ec with SMTP id w5-20020a170906d20500b007c151eea2ecmr58517152ejz.46.1673365361039; Tue, 10 Jan 2023 07:42:41 -0800 (PST) Received: from [192.168.1.50] ([79.119.240.114]) by smtp.gmail.com with ESMTPSA id v10-20020a170906292a00b00782fbb7f5f7sm5114950ejd.113.2023.01.10.07.42.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 10 Jan 2023 07:42:40 -0800 (PST) Message-ID: Date: Tue, 10 Jan 2023 17:42:39 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.3 Subject: [PATCH 2/2] wifi: rtl8xxxu: Dump the efuse only for untested devices Content-Language: en-US From: Bitterblue Smith To: "linux-wireless@vger.kernel.org" Cc: Jes Sorensen , Ping-Ke Shih References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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-wireless@vger.kernel.org It appears this was the intention all along, but commit 3307d84024d2 ("rtl8xxxu: Add initial code to parse rtl8192eu efuse") initialised rtl8xxxu_debug with RTL8XXXU_DEBUG_EFUSE for no apparent reason, which made it dump the efuse for all devices, even the tested ones. Signed-off-by: Bitterblue Smith --- drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c index d521435e1c07..07c3af5d0374 100644 --- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c +++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c @@ -34,7 +34,7 @@ #define DRIVER_NAME "rtl8xxxu" -int rtl8xxxu_debug = RTL8XXXU_DEBUG_EFUSE; +int rtl8xxxu_debug; static bool rtl8xxxu_ht40_2g; static bool rtl8xxxu_dma_aggregation; static int rtl8xxxu_dma_agg_timeout = -1; -- 2.38.0