Search Linux Wireless

Re: [PATCH v2 1/4] cfg80211: add reg_get_dfs_region()

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

 



On Wed, 2013-11-20 at 10:41 +0100, Janusz Dziedzic wrote:

> +enum nl80211_dfs_regions reg_get_dfs_region(struct wiphy *wiphy)
> +{
> +	const struct ieee80211_regdomain *regd = NULL;
> +	const struct ieee80211_regdomain *wiphy_regd = NULL;
> +
> +	ASSERT_RTNL();

That seems pointless, both get_cfg80211_regdom() and get_wiphy_regdom()
will already check (if lockdep is enabled)

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