]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: Save the regulatory domain when setting custom regulatory
authorIlan Peer <ilan.peer@intel.com>
Sun, 29 Nov 2020 15:30:51 +0000 (17:30 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 11 Dec 2020 11:57:24 +0000 (12:57 +0100)
commita79f771e4d077d92b99f34fc223e237d4ff6ff5d
treeeb521c890c98f1256b479475a8712e6bad290524
parent72c17f86c9b795576c72530e19a3ea439d0795cb
cfg80211: Save the regulatory domain when setting custom regulatory

When custom regulatory was set, only the channels setting was updated, but
the regulatory domain was not saved. Fix it by saving it.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20201129172929.290fa5c5568a.Ic5732aa64de6ee97ae3578bd5779fc723ba489d1@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/reg.c