]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
cfg80211: fix gHz to GHz
authorJohannes Berg <johannes.berg@intel.com>
Thu, 15 Oct 2015 14:16:09 +0000 (16:16 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 15 Oct 2015 14:17:07 +0000 (16:17 +0200)
There's no "g" prefix, only "G" (1e9) that was clearly intended here.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/core.c
net/wireless/reg.c

index a83037da21b65f70fad984bf2b936b7f88e91a0e..b0915515640efed1ff4795103c0572aba48c38f4 100644 (file)
@@ -639,7 +639,7 @@ int wiphy_register(struct wiphy *wiphy)
                if (WARN_ON(!sband->n_channels))
                        return -EINVAL;
                /*
-                * on 60gHz band, there are no legacy rates, so
+                * on 60GHz band, there are no legacy rates, so
                 * n_bitrates is 0
                 */
                if (WARN_ON(band != IEEE80211_BAND_60GHZ &&
index 7258246b7458713eb14230c906246e230972b1b4..f0b0f8c818b1731fab28b684bfcb57f6024ab101 100644 (file)
@@ -262,7 +262,7 @@ static const struct ieee80211_regdomain world_regdom = {
                REG_RULE(5745-10, 5825+10, 80, 6, 20,
                        NL80211_RRF_NO_IR),
 
-               /* IEEE 802.11ad (60gHz), channels 1..3 */
+               /* IEEE 802.11ad (60GHz), channels 1..3 */
                REG_RULE(56160+2160*1-1080, 56160+2160*3+1080, 2160, 0, 0, 0),
        }
 };