Message ID | 20211203185700.756121-1-arnd@kernel.org |
---|---|
State | New |
Headers | show |
Series | nl80211: use correct enum type in reg_reload_regdb | expand |
diff --git a/net/wireless/reg.c b/net/wireless/reg.c index 61f1bf1bc4a7..edb2081f75e8 100644 --- a/net/wireless/reg.c +++ b/net/wireless/reg.c @@ -1134,7 +1134,7 @@ int reg_reload_regdb(void) request->wiphy_idx = WIPHY_IDX_INVALID; request->alpha2[0] = current_regdomain->alpha2[0]; request->alpha2[1] = current_regdomain->alpha2[1]; - request->initiator = NL80211_USER_REG_HINT_USER; + request->initiator = NL80211_REGDOM_SET_BY_CORE; request->user_reg_hint_type = NL80211_USER_REG_HINT_USER; request->reload = true;