On Wed, 2011-11-23 at 12:32 -0800, Thomas Pedersen wrote: > --- a/net/wireless/nl80211.c > +++ b/net/wireless/nl80211.c > @@ -5648,6 +5648,11 @@ static int nl80211_join_mesh(struct sk_buff *skb, struct genl_info *info) > setup.mesh_id = nla_data(info->attrs[NL80211_ATTR_MESH_ID]); > setup.mesh_id_len = nla_len(info->attrs[NL80211_ATTR_MESH_ID]); > > + if (info->attrs[NL80211_ATTR_MCAST_RATE] && > + !nl80211_parse_mcast_rate(rdev, setup.mcast_rate, > + nla_get_u32(info->attrs[NL80211_ATTR_MCAST_RATE]))) > + return -EINVAL; That could use some better indentation ... 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