|
@@ -2049,8 +2049,10 @@ static int __set_regdom(const struct ieee80211_regdomain *rd)
|
|
}
|
|
}
|
|
|
|
|
|
request_wiphy = wiphy_idx_to_wiphy(last_request->wiphy_idx);
|
|
request_wiphy = wiphy_idx_to_wiphy(last_request->wiphy_idx);
|
|
- if (!request_wiphy) {
|
|
|
|
- reg_set_request_processed();
|
|
|
|
|
|
+ if (!request_wiphy &&
|
|
|
|
+ (last_request->initiator == NL80211_REGDOM_SET_BY_DRIVER ||
|
|
|
|
+ last_request->initiator == NL80211_REGDOM_SET_BY_COUNTRY_IE)) {
|
|
|
|
+ schedule_delayed_work(®_timeout, 0);
|
|
return -ENODEV;
|
|
return -ENODEV;
|
|
}
|
|
}
|
|
|
|
|