]> git.ipfire.org Git - thirdparty/iw.git/commitdiff
ocb: use correct "MHz" instead of "MHZ"
authorOla Olsson <ola1olsson@gmail.com>
Mon, 12 Oct 2015 07:35:56 +0000 (09:35 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 13 Oct 2015 09:01:51 +0000 (11:01 +0200)
Fixes the last typos of MHZ to MHz

Signed-off-by: Ola Olsson <ola.olsson@sonymobile.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
ocb.c

diff --git a/ocb.c b/ocb.c
index d28da7fcd4d709e76731bf6608c50bd299ae68b5..1a380d53909f8def13aa1efd47d856db608d67f3 100644 (file)
--- a/ocb.c
+++ b/ocb.c
@@ -17,9 +17,9 @@ static int join_ocb(struct nl80211_state *state,
                const char *name;
                unsigned int width;
        } *chanmode_selected, chanmode[] = {
-               { .name = "5MHZ",
+               { .name = "5MHz",
                  .width = NL80211_CHAN_WIDTH_5 },
-               { .name = "10MHZ",
+               { .name = "10MHz",
                  .width = NL80211_CHAN_WIDTH_10 },
        };
 
@@ -58,7 +58,7 @@ static int join_ocb(struct nl80211_state *state,
 nla_put_failure:
        return -ENOBUFS;
 }
-COMMAND(ocb, join, "<freq in MHz> <5MHZ|10MHZ>",
+COMMAND(ocb, join, "<freq in MHz> <5MHz|10MHz>",
        NL80211_CMD_JOIN_OCB, 0, CIB_NETDEV, join_ocb,
        "Join the OCB mode network.");