On Fri, 2014-03-07 at 14:37 +0100, Rostislav Lisovy wrote: > + if ((chan->flags & IEEE80211_CHAN_NO_20MHZ) && > + nla_put_flag(msg, NL80211_FREQUENCY_ATTR_NO_20MHZ)) > + goto nla_put_failure; > + if ((chan->flags & IEEE80211_CHAN_NO_10MHZ) && > + nla_put_flag(msg, NL80211_FREQUENCY_ATTR_NO_10MHZ)) > + goto nla_put_failure; This is the part of the code that I was referring to before, you should skip these channels if (!large) to not break older tools with too much data. 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