]> git.ipfire.org Git - thirdparty/iw.git/commitdiff
iw: print NOHT always as first in usage texts
authorSven Eckelmann <sven@open-mesh.com>
Wed, 25 Nov 2015 13:59:18 +0000 (14:59 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 6 Jan 2016 11:04:31 +0000 (12:04 +0100)
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
ibss.c
mesh.c

diff --git a/ibss.c b/ibss.c
index a7617940ae802e64fabca13b283e200c758c4f55..beb74e52c6f80f99da1baa9981c2679544d74f0d 100644 (file)
--- a/ibss.c
+++ b/ibss.c
@@ -192,7 +192,7 @@ COMMAND(ibss, leave, NULL,
        NL80211_CMD_LEAVE_IBSS, 0, CIB_NETDEV, leave_ibss,
        "Leave the current IBSS cell.");
 COMMAND(ibss, join,
-       "<SSID> <freq in MHz> [HT20|HT40+|HT40-|NOHT|5MHz|10MHz|80MHz] [fixed-freq] [<fixed bssid>] [beacon-interval <TU>]"
+       "<SSID> <freq in MHz> [NOHT|HT20|HT40+|HT40-|5MHz|10MHz|80MHz] [fixed-freq] [<fixed bssid>] [beacon-interval <TU>]"
        " [basic-rates <rate in Mbps,rate2,...>] [mcast-rate <rate in Mbps>] "
        "[key d:0:abcde]",
        NL80211_CMD_JOIN_IBSS, 0, CIB_NETDEV, join_ibss,
diff --git a/mesh.c b/mesh.c
index d674d6140b528ac3065dad874be6870be2896246..a0047fec60a3dc094a8607b617b387d335520990 100644 (file)
--- a/mesh.c
+++ b/mesh.c
@@ -608,7 +608,7 @@ static int join_mesh(struct nl80211_state *state,
  nla_put_failure:
        return -ENOBUFS;
 }
-COMMAND(mesh, join, "<mesh ID> [[freq <freq in MHz> <HT20|HT40+|HT40-|NOHT|80MHz>]"
+COMMAND(mesh, join, "<mesh ID> [[freq <freq in MHz> <NOHT|HT20|HT40+|HT40-|80MHz>]"
        " [basic-rates <rate in Mbps,rate2,...>]], [mcast-rate <rate in Mbps>]"
        " [beacon-interval <time in TUs>] [dtim-period <value>]"
        " [vendor_sync on|off] [<param>=<value>]*",