Search Linux Wireless

Re: [PATCH 06/10] cfg80211: honor NL80211_RRF_NO_HT40{MINUS,PLUS}

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

 



On Sat, 2017-08-05 at 11:44 +0300, Luca Coelho wrote:

> +	regd = get_wiphy_regdom(wiphy);
> +	if (regd) {
> +		const struct ieee80211_reg_rule *reg_rule =
> +			freq_reg_info_regd(MHZ_TO_KHZ(channel-
> >center_freq),
> +					   regd, MHZ_TO_KHZ(20));
> 

This could return an error, how can you be sure it doesn't?

johannes



[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