Search Linux Wireless

Re: [PATCH 1/6] Add nl80211 calls for bitrate threshold

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

 



On Wed, 2010-10-13 at 15:06 -0700, Paul Stewart wrote:

> +static int nl80211_set_cqm_bitrate(struct genl_info *info,
> +					   u32 trigger_rate)
> +{
> +	struct cfg80211_registered_device *rdev;
> +	struct wireless_dev *wdev;
> +	struct net_device *dev;
> +	int err;
> +
> +	rtnl_lock();
> +
> +	err = get_rdev_dev_by_info_ifindex(info, &rdev, &dev);
> +	if (err)
> +		goto unlock_rdev;

Err, what kernel is this against? It's going to deadlock in
wireless-next...

> +	err = rdev->ops->set_cqm_bitrate_config(wdev->wiphy, dev, trigger_rate);

This won't compile after just the first patch -- merge 1 and 2.

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