aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/staging/rtl8723bs/os_dep/wifi_regd.c
diff options
context:
space:
mode:
authorFabio Aiuto <fabioaiuto83@gmail.com>2021-06-22 15:09:59 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-06-24 14:43:46 +0200
commit43cf7e96fe456d4598e44f21e994021987fa9089 (patch)
tree611c079351ef5fb996aabdc4b3aa77fb491f3035 /drivers/staging/rtl8723bs/os_dep/wifi_regd.c
parentstaging: rtl8723bs: fix macro value for 2.4Ghz only device (diff)
downloadwireguard-linux-43cf7e96fe456d4598e44f21e994021987fa9089.tar.xz
wireguard-linux-43cf7e96fe456d4598e44f21e994021987fa9089.zip
staging: rtl8723bs: remove obsolete 5Ghz comments
remove obsolete 5Ghz comments. Acked-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com> Link: https://lore.kernel.org/r/608f0b08ffae821d695cb2eadcffbd592912c906.1624367072.git.fabioaiuto83@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8723bs/os_dep/wifi_regd.c')
-rw-r--r--drivers/staging/rtl8723bs/os_dep/wifi_regd.c4
1 files changed, 0 insertions, 4 deletions
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;