Search Linux Wireless

Re: [PATCH 1/7] {nl,cfg,mac}80211: Allow Setting Multicast Rate in Mesh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux