Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4666840pxj; Tue, 22 Jun 2021 05:33:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwZYKUufGIcHSqc1rJUlQVyVsU6wXohR3tymTDfzdsl+eQE9QbK8LYYiSjvgAvaLdf/YeW+ X-Received: by 2002:a02:9109:: with SMTP id a9mr3771862jag.93.1624365209411; Tue, 22 Jun 2021 05:33:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624365209; cv=none; d=google.com; s=arc-20160816; b=qFcxy8PL7eH0aSkIIwvg/PP5pV0zSftEKFD6YwjRoN9BDxXNV2HCdkXQcREbanStq8 1NWjCrDs0iOJs+Su2xZziTzrd8S9HWEMwlHdMf1ssXN5g2mUfrotxMVo3eoshhtF5baB H3NTjRB/ePdT96p2t6M6m+JvM97yxWCY+eVmc1AAzY2tYlpe9IPFD66Qq6igeOvh7Gud bJYhsWInKqSasfM5i4eSy7SXGfv8z3vfu3XpwBFT9cv/ANw0YLoL83MAmpjzSarQIpbc W5IHl8ysuTsP7ACBqg2CSSnW6z7iaiFR4wwQtSEWlNRZNUYmW4lw+Whdtaoto3K+KwiV LE1g== 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 :dkim-signature; bh=NzFrqHGl0cYS27Ypm4XF1HD4hXM1cpi1KCAV815SAkE=; b=Ks1ljwGK6oDzWUUmGxU6iauIaUxLK2YGmZuptI153d7AR8zQdMgYcsH3mKdzWRXY9i Mift14doYuB0VBjYhlsjjrAiQUtDjVd2fmtO5zUAUEThD6cDfKSsQeuWcxm53ZaFq3i+ JFnC8SyiSBfEw3QFBky4+7JBuURB/sszK1TrRfPPw2V/WRlB5W1DQDrBwqkS2WFvEPPo rzfdrKtJYPDGZZfyYD481+BZ76ot/hzz3VL9vNVnN8GlO7x0OtRhN4W4AUJDg0zzcIHb 1QtLqdyjSg9u6iKVel1aLxYQraR5xJ+n1gLji+QFMHQqR0tDlIh982yX7akVF3m+m8Aw JbZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rWf1PgkI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t3si22465819iof.33.2021.06.22.05.33.16; Tue, 22 Jun 2021 05:33:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rWf1PgkI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 S231799AbhFVMdB (ORCPT + 99 others); Tue, 22 Jun 2021 08:33:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46062 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231689AbhFVMcY (ORCPT ); Tue, 22 Jun 2021 08:32:24 -0400 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED40EC0613A2 for ; Tue, 22 Jun 2021 05:30:07 -0700 (PDT) Received: by mail-wr1-x434.google.com with SMTP id f2so23407132wri.11 for ; Tue, 22 Jun 2021 05:30:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=NzFrqHGl0cYS27Ypm4XF1HD4hXM1cpi1KCAV815SAkE=; b=rWf1PgkIwW2d1mw2Y8MaIRSkO1MvPeeeSK0nX+NDlNPZj6LTv6at6z3hqi00tbgSzC SExs778Ar1nGZbaZPyuhSV0BCTraDAJtc55UqJwETLm0wKK+/9/HjWPv+C5ORY2B1rzA sVSk4Hwe+sQO+SfsxV88maJPQsVe63FrQ11y4hSQIRqOcUV1qlFJPPpHK80VBN9r+0MT 8Aih8r9+foSLEfD0HiFPfu7BLolc+mCHc72SRK699juj0r6NIvd2dokSJRdliK5gzVhp ZdN14FDTLLLLzFwzk2RDeL6Oc/ScUu946+gWtzdLUDmom+IKCuwh63Al2aKCJBZp6MHN KrPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=NzFrqHGl0cYS27Ypm4XF1HD4hXM1cpi1KCAV815SAkE=; b=g30OqAMZlTOgYakTTiVCk7wQNT6XZQoansXSulZv+z+lgL2GMWAQgqKVC9TStp0G4V t2zFnzFNZMi9BX1OnAiAMDOj0M4ipgsqunRbkLhz/V4jnnzRCUT7u52lfrz7wTB0wRmR XBr/mkhMDB33ZImllyvcYsLxprZXwfgqRRTbOBX9GaiAvGCdDfeB534FdiXxLCL3Vp9Q PVnlMRp1F+0DNL0OtQ68jid/fd8aQWExn/ZKf6GhglPm6l23rF7LJ/dR3mkwkHVH4+Ze jtdnJMxoA9Kxo/Su9wYCxZgcT2p0vtzpAmGbTBXuPTiVn7jPXcovamvabZGmZSWs9Zp2 1+Fg== X-Gm-Message-State: AOAM5325DQjui9DaBOUx4UQhDqp6Xe1sd1igAn/nGTldFa8dytcSyxZS xOSQkVi1sRr4y4n3r1WYFArOY4YLUReEQg== X-Received: by 2002:a5d:5907:: with SMTP id v7mr4536429wrd.342.1624365006485; Tue, 22 Jun 2021 05:30:06 -0700 (PDT) Received: from agape ([5.171.73.108]) by smtp.gmail.com with ESMTPSA id z6sm16794608wrh.65.2021.06.22.05.30.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Jun 2021 05:30:06 -0700 (PDT) From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: hdegoede@redhat.com, Larry.Finger@lwfinger.net, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v2 15/17] staging: rtl8723bs: remove obsolete 5Ghz comments Date: Tue, 22 Jun 2021 14:29:40 +0200 Message-Id: <4d7fb487902f6c60db751b58642ffa48d3f2d74e.1624364582.git.fabioaiuto83@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org remove obsolete 5Ghz comments. Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c | 2 -- drivers/staging/rtl8723bs/os_dep/wifi_regd.c | 4 ---- 2 files changed, 6 deletions(-) diff --git a/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c b/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c index 8514cfb3d7e0..427f0b88abd7 100644 --- a/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c +++ b/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c @@ -202,8 +202,6 @@ rtw_cfg80211_default_mgmt_stypes[NUM_NL80211_IFTYPES] = { static int rtw_ieee80211_channel_to_frequency(int chan, int band) { - /* see 802.11 17.3.8.3.2 and Annex J - * there are overlapping channel numbers in 5GHz and 2GHz bands */ if (band == NL80211_BAND_2GHZ) { if (chan == 14) return 2484; diff --git a/drivers/staging/rtl8723bs/os_dep/wifi_regd.c b/drivers/staging/rtl8723bs/os_dep/wifi_regd.c index 0084589499b9..5eef1d68c6f0 100644 --- a/drivers/staging/rtl8723bs/os_dep/wifi_regd.c +++ b/drivers/staging/rtl8723bs/os_dep/wifi_regd.c @@ -44,10 +44,6 @@ static const struct ieee80211_regdomain rtw_regdom_rd = { static int rtw_ieee80211_channel_to_frequency(int chan, int band) { - /* see 802.11 17.3.8.3.2 and Annex J - * there are overlapping channel numbers in 5GHz and 2GHz bands - */ - /* NL80211_BAND_2GHZ */ if (chan == 14) return 2484; -- 2.20.1