On Tue, 2011-03-29 at 19:06 -0700, Thomas Pedersen wrote: > + /* report mesh capabilities */ > + container = nla_nest_start(msg, NL80211_ATTR_MESH_CAPS); > + if (!container) > + goto nla_put_failure; > + for (capa = __NL80211_MESH_CAP_INVALID + 1; > + capa <= NL80211_MESH_CAP_MAX; capa++) > + NLA_PUT_FLAG(msg, capa); > + nla_nest_end(msg, container); Also, it looks like this should depend on some cfg80211 wiphy flag that mac80211 sets, like WIPHY_FLAG_IBSS_RSN, instead of being hardcoded for all drivers. 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