Search Linux Wireless

Re: [RFC v2 4/8] nl80211/cfg80211: support VHT channel configuration

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

 



On Fri, 2012-11-09 at 21:17 +0100, Johannes Berg wrote:

> +	case NL80211_CHAN_WIDTH_80P80:
> +		width = 80;
> +		if (!vht_cap->vht_supported)
>  			return -EINVAL;
> +		break;
> +	case NL80211_CHAN_WIDTH_80:
> +		width = 80;
> +		if (!vht_cap->vht_supported)
> +			return -EINVAL;
> +		if (!(vht_cap->cap & IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160_80PLUS80MHZ))
> +			return -EINVAL;

Just noticed & fixed the capability check bug here :)

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 Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux