|
@@ -1920,14 +1920,12 @@ static int regulatory_hint_core(const char *alpha2)
|
|
|
request->alpha2[1] = alpha2[1];
|
|
|
request->initiator = NL80211_REGDOM_SET_BY_CORE;
|
|
|
|
|
|
- queue_regulatory_request(request);
|
|
|
-
|
|
|
/*
|
|
|
* This ensures last_request is populated once modules
|
|
|
* come swinging in and calling regulatory hints and
|
|
|
* wiphy_apply_custom_regulatory().
|
|
|
*/
|
|
|
- flush_scheduled_work();
|
|
|
+ reg_process_hint(request);
|
|
|
|
|
|
return 0;
|
|
|
}
|