On Fri, 2014-03-07 at 14:37 +0100, Rostislav Lisovy wrote: > Signed-off-by: Rostislav Lisovy <rostislav.lisovy@xxxxxxxxxxx> > --- > include/net/cfg80211.h | 4 ++++ > net/wireless/chan.c | 10 ++++++++++ > 2 files changed, 14 insertions(+) > > diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h > index f5ecd6c..16f19e0 100644 > --- a/include/net/cfg80211.h > +++ b/include/net/cfg80211.h > @@ -367,6 +367,10 @@ static inline enum nl80211_channel_type > cfg80211_get_chandef_type(const struct cfg80211_chan_def *chandef) > { > switch (chandef->width) { > + case NL80211_CHAN_WIDTH_5: > + return NL80211_CHAN_5MHZ; NACK, this isn't needed, just fix the code to not use channel_type. johannes -- 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