]> git.baikalelectronics.ru Git - kernel.git/commit
nl80211: reset regdom when reloading regdb
authorFinn Behrens <me@kloenk.dev>
Sat, 27 Nov 2021 10:28:53 +0000 (11:28 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 29 Nov 2021 08:31:56 +0000 (09:31 +0100)
commit7c96fb8e4ff077dd5f17ece4345e4f1959463f66
treec029d1e96082387d64bf09dd5228852f8ace7057
parent346d4e9171513189aa45bea83cc1e0d625fa991a
nl80211: reset regdom when reloading regdb

Reload the regdom when the regulatory db is reloaded.
Otherwise, the user had to change the regulatoy domain
to a different one and then reset it to the correct
one to have a new regulatory db take effect after a
reload.

Signed-off-by: Finn Behrens <fin@nyantec.com>
Link: https://lore.kernel.org/r/YaIIZfxHgqc/UTA7@gimli.kloenk.dev
[edit commit message]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/regulatory.h
net/wireless/reg.c