ar71xx: generate region-coded factory images for TP-Link TL-WR841ND v11
[openwrt/openwrt.git] / package / network / utils / iw / patches / 302-ibss_use_MHz_instead_MHZ.patch
1 From: Johannes Berg <johannes.berg@intel.com>
2 Date: Fri, 18 Sep 2015 11:11:38 +0200
3 Subject: ibss: use correct "MHz" instead of "MHZ"
4
5 Signed-off-by: Johannes Berg <johannes.berg@intel.com>
6 ---
7 ibss.c | 8 ++++----
8 1 file changed, 4 insertions(+), 4 deletions(-)
9
10 --- a/ibss.c
11 +++ b/ibss.c
12 @@ -81,15 +81,15 @@ static int join_ibss(struct nl80211_stat
13 .width = NL80211_CHAN_WIDTH_20_NOHT,
14 .freq1_diff = 0,
15 .chantype = NL80211_CHAN_NO_HT },
16 - { .name = "5MHZ",
17 + { .name = "5MHz",
18 .width = NL80211_CHAN_WIDTH_5,
19 .freq1_diff = 0,
20 .chantype = -1 },
21 - { .name = "10MHZ",
22 + { .name = "10MHz",
23 .width = NL80211_CHAN_WIDTH_10,
24 .freq1_diff = 0,
25 .chantype = -1 },
26 - { .name = "80MHZ",
27 + { .name = "80MHz",
28 .width = NL80211_CHAN_WIDTH_80,
29 .freq1_diff = 0,
30 .chantype = -1 },
31 @@ -225,7 +225,7 @@ COMMAND(ibss, leave, NULL,
32 NL80211_CMD_LEAVE_IBSS, 0, CIB_NETDEV, leave_ibss,
33 "Leave the current IBSS cell.");
34 COMMAND(ibss, join,
35 - "<SSID> <freq in MHz> [HT20|HT40+|HT40-|NOHT|5MHZ|10MHZ|80MHZ] [fixed-freq] [<fixed bssid>] [beacon-interval <TU>]"
36 + "<SSID> <freq in MHz> [HT20|HT40+|HT40-|NOHT|5MHz|10MHz|80MHz] [fixed-freq] [<fixed bssid>] [beacon-interval <TU>]"
37 " [basic-rates <rate in Mbps,rate2,...>] [mcast-rate <rate in Mbps>] "
38 "[key d:0:abcde]",
39 NL80211_CMD_JOIN_IBSS, 0, CIB_NETDEV, join_ibss,