Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2474734pxj; Sat, 19 Jun 2021 13:30:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyCjmNwuwe4rW1mAxXn5C/c3s1+ncj1oExd1rGC/fPy7yygfYsiONxdH/CM7uzhsACPcb2z X-Received: by 2002:a17:906:7212:: with SMTP id m18mr7550790ejk.351.1624134646406; Sat, 19 Jun 2021 13:30:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624134646; cv=none; d=google.com; s=arc-20160816; b=jh1+XIfCVx01Tonng4JxDglFYeKN2kcM/QnRyCqaVGI/5n4sbR79mVVlfIY3jg06M6 sqvB46/b8QFpyjtASbMA7BYNxRAn7U7MincsE15jlCESFCre94eP931GgVwJxKU6fSa6 FAflLh0FzOgC3IVJYevKrYJ2HtLt2JW3FH7Q9k7k4xmrEmgJjztU5ukXlb5Fl1lCMKTR bXPJNYGsiRtSCdJzwQy+JzOSaIRf2uZ2Emitv1/FgYCrk1ZMpwwAfes2J4k7PCZKmEPo 412SHe2TqVfGFqr1Gt+LijxM5exOA0KDj39jJtDtOJkog58a2a4ouUljZwM4Tp1yuaqm h4ew== 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=W17YyUjPZkYbb7s+QEqxV1d8qEIlptckrVH9gZ0Q9kjTSC1S1yB5wpmDBPM6zrnygM O/1iZ5l1eFirp+s/ndDcrxW649fO3vZhnZCpbm0gWb4XDnEmUaIvZ6ymTh0Gqj0b7Mmf 3U1vUif2hnyWzBYgzxzWI4Dfy4NPHh+j7+WUrrYa9gJPcNJ6S15/Fe5+eCFO83xqmUCa 6uaMiaoGj37mRp5uD8EoCBh2ubKzpFH5ph0ANcdWsPNQoLlLFzXbuWUp0AeY0WwKcAsp 7T4iS403vl4Wl2pdW8or5MU/XPUfavLPmcd8KLQ0qkCf92QjhsXyUviFpAAX0Tm9l3Pf kzRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=CxRhcmv7; 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 i23si5701288ejo.352.2021.06.19.13.30.23; Sat, 19 Jun 2021 13:30:46 -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=CxRhcmv7; 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 S232323AbhFSKu7 (ORCPT + 99 others); Sat, 19 Jun 2021 06:50:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60846 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233152AbhFSKt5 (ORCPT ); Sat, 19 Jun 2021 06:49:57 -0400 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81BDEC0617AD for ; Sat, 19 Jun 2021 03:47:46 -0700 (PDT) Received: by mail-wm1-x336.google.com with SMTP id h21-20020a1ccc150000b02901d4d33c5ca0so5210950wmb.3 for ; Sat, 19 Jun 2021 03:47:46 -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=CxRhcmv7ahuC+L16zluXOKgTfpfBKiLdVdRxBHZvGVTwsAQatljYQOD/C+fosg+Tai mLP5LmucExjPuEd4I6UjIY2OQrM80gvzFK7coI+EHH49QswKZhrz9EiQkuy20CB2sIPZ NKcTv0WCXcbpHF6ym7bUg3UxYe4ogUVSo1iyeHEFFfQBbWWsVz0d0G/+L47dgBbgoVul sj2HxS+LzQ533oIgMjBfvcPaw9NgmESgjcaXCRfKAMiPSlOx7ANCPPbO5ZCRADR7OEOn SAUIc/PlpKUHbdBuEbxLUDr5qnvUAroZoBd5ZiLxFoaURcJeX05LHZHM7nwtPNFm1Dce h+Lw== 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=d+HiD4A7U/3vah5IRfofuFmnyEjfcpXSGp+nfwMnxnnf+LAJfhQcsI5GT7pF300n7n gcYJ+3PqAtq50Kc+NwvhBmQHAtG3J28ZxRfrKbfa369+zKtiLLnqIc5fEUlw1al5ikKA DM4bkbkCwxT4LRva1gUMPt7/rM6koEQVJhs7qtVU3wZtE5EErWy6BFczc0R862U2T7jh oOhhXPYd9CKq5oLNtr6V5pPW4ohm16EMBPNMcjK6eD8vHxJqQtRvP3bekIBpzvHFewX3 QC1ZLmZgl1rvNCTCSEK3PqxuF4/NChuV0FokV8RNZU81eSzbzZiKeJseqlNpwSG3idxp LIOA== X-Gm-Message-State: AOAM532yrnwsBCRQJmqg/ZntCq57PaopXw7GofzgAz5Bc3aj0VvHF2kB IhISFeWm9FcLOMyXAWYMD6MZlmtZ3AZTtw== X-Received: by 2002:a05:600c:511d:: with SMTP id o29mr16439288wms.0.1624099665054; Sat, 19 Jun 2021 03:47:45 -0700 (PDT) Received: from agape ([5.171.81.81]) by smtp.gmail.com with ESMTPSA id w8sm10673236wmi.45.2021.06.19.03.47.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 19 Jun 2021 03:47:44 -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 16/18] staging: rtl8723bs: remove obsolete 5Ghz comments Date: Sat, 19 Jun 2021 12:47:19 +0200 Message-Id: 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