]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: never ignore user regulatory hint
authorAmar Singhal <asinghal@codeaurora.org>
Fri, 20 Jul 2018 19:15:18 +0000 (12:15 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 24 Jul 2018 07:11:31 +0000 (09:11 +0200)
commitf590ce3242597a41c8ae64f0865dea64a2db2a03
tree1de1f06850ab7bc643597640f7d7828782b31034
parentcb56524b223fc143b4c2ffc219a8fb7a5ed9ba9f
cfg80211: never ignore user regulatory hint

Currently user regulatory hint is ignored if all wiphys
in the system are self managed. But the hint is not ignored
if there is no wiphy in the system. This affects the global
regulatory setting. Global regulatory setting needs to be
maintained so that it can be applied to a new wiphy entering
the system. Therefore, do not ignore user regulatory setting
even if all wiphys in the system are self managed.

Signed-off-by: Amar Singhal <asinghal@codeaurora.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/reg.c