summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2015-10-15 16:16:09 +0200
committerJohannes Berg <johannes.berg@intel.com>2015-10-15 16:17:07 +0200
commit8047d2616dc7ff47d34f5bc64835e060ccb5db1c (patch)
tree5b8a5acb02b6698ba5f9667cfba969f164109df0
parent6f1f5d5f4dc39e579b3ac348277dd60ee9e44e08 (diff)
downloadlinux-stable-8047d2616dc7ff47d34f5bc64835e060ccb5db1c.tar.gz
linux-stable-8047d2616dc7ff47d34f5bc64835e060ccb5db1c.tar.bz2
linux-stable-8047d2616dc7ff47d34f5bc64835e060ccb5db1c.zip
cfg80211: fix gHz to GHz
There's no "g" prefix, only "G" (1e9) that was clearly intended here. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
-rw-r--r--net/wireless/core.c2
-rw-r--r--net/wireless/reg.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/wireless/core.c b/net/wireless/core.c
index a83037da21b6..b0915515640e 100644
--- a/net/wireless/core.c
+++ b/net/wireless/core.c
@@ -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 &&
diff --git a/net/wireless/reg.c b/net/wireless/reg.c
index 7258246b7458..f0b0f8c818b1 100644
--- a/net/wireless/reg.c
+++ b/net/wireless/reg.c
@@ -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),
}
};