]> 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)
commit6da2189d594928adddde8df6ecdfd703f6f3bcdc
tree6943fafbd4973124d6f1326013384552ef27e8a5
parentb9b0283503ac23eb4910d220133b5b2c56523121
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