Search Linux Wireless

Re: [PATCH 2/2] cfg80211: pass DFS region to drivers through reg_notifier()

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

 



On Mon, 2010-12-20 at 12:02 -0500, Luis R. Rodriguez wrote:

> +	u8 dfs_region;

u8, when the real value is a u16?

> +	last_request->dfs_region = (cfg80211_regdomain->flags &
> +				    NL80211_CFLAG_ALL_DFS_FLAGS);

Also -- "regions", not "region" since it's still a bitmask of values. If
you think it should be a single region, then you should have an enum
instead.

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