iw was showing 'width: unknown' for channels on OCB interfaces; teach it the values for 5/10 MHz so it will show the configured width. Signed-off-by: Bob Copeland <me@xxxxxxxxxxxxxxx> --- interface.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/interface.c b/interface.c index 209561d..2802235 100644 --- a/interface.c +++ b/interface.c @@ -295,6 +295,10 @@ char *channel_width_name(enum nl80211_chan_width width) return "80+80 MHz"; case NL80211_CHAN_WIDTH_160: return "160 MHz"; + case NL80211_CHAN_WIDTH_5: + return "5 MHz"; + case NL80211_CHAN_WIDTH_10: + return "10 MHz"; default: return "unknown"; } -- 2.9.0 -- 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