Fixes the last MHZ to MHz. Signed-off-by: Ola Olsson <ola.olsson@xxxxxxxxxxxxxx> --- ocb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ocb.c b/ocb.c index fc48ecf..c60591c 100644 --- a/ocb.c +++ b/ocb.c @@ -18,9 +18,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 }, }; @@ -59,7 +59,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."); -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html