]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: allow only the core to request to update the world regdom
authorLuis R. Rodriguez <mcgrof@do-not-panic.com>
Tue, 5 Nov 2013 17:18:11 +0000 (09:18 -0800)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 25 Nov 2013 19:51:23 +0000 (20:51 +0100)
commita8a0b70c52ac9f0c2a80b074e1db56feb4e144df
treef8585cc786183f42890ceaca9332af2094c33491
parent6b420900eeb55ed1e4ff094acd4b97a02893375b
cfg80211: allow only the core to request to update the world regdom

It seems some out of tree drivers were using a regulatory_hint("00")
to trigger off the wiphy regulatory notifier, for those cases just
setting the WIPHY_FLAG_CUSTOM_REGULATORY would suffice to call
the reg_notifier() for a world regulatory domain update. If drivers
find other needs for calling the reg_notifier() a proper implemenation
is preferred.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/reg.c