]> 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)
commitf35a11647165f12ce228b67c5b5fe4efd60b1ad4
tree1de1f06850ab7bc643597640f7d7828782b31034
parent419e26815b8860cdf9d653e817f3f455fcdf9aee
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