]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: set core regulatory updates on its own
authorLuis R. Rodriguez <mcgrof@do-not-panic.com>
Tue, 5 Nov 2013 17:18:14 +0000 (09:18 -0800)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 25 Nov 2013 19:51:31 +0000 (20:51 +0100)
commit48700f666c842f9313dbe12f34392e18e0d14466
tree6943fafbd4973124d6f1326013384552ef27e8a5
parent0f8a4ed8da68a68ca1310bceb04c3053f2ad881d
cfg80211: set core regulatory updates on its own

This splits up the core regulatory update to be
set on its own helper. This should make it easier
to read exactly what type of requests should be
expected there. In this case its clear that
NL80211_REGDOM_SET_BY_CORE is only used by the
core for updating the world regulatory domain.
This is consistant with the nl80211.h documentation.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
[add warning to default switch case to avoid compiler warning]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/reg.c