staging: rtl8723bs: remove obsolete 5Ghz comments
authorFabio Aiuto <fabioaiuto83@gmail.com>
Tue, 22 Jun 2021 13:09:59 +0000 (15:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 24 Jun 2021 12:43:46 +0000 (14:43 +0200)
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>
drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c
drivers/staging/rtl8723bs/os_dep/wifi_regd.c

index 8514cfb..427f0b8 100644 (file)
@@ -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;
index 0084589..5eef1d6 100644 (file)
@@ -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;