return kobject_uevent_env(®_pdev->dev.kobj, KOBJ_CHANGE, env);
}
-static bool reg_call_crda(struct regulatory_request *request)
+static bool reg_query_database(struct regulatory_request *request)
{
if (call_crda(request->alpha2))
return false;
*/
static void reg_process_hint_core(struct regulatory_request *core_request)
{
- if (reg_call_crda(core_request)) {
+ if (reg_query_database(core_request)) {
core_request->intersect = false;
core_request->processed = false;
reg_update_last_request(core_request);
user_request->intersect = treatment == REG_REQ_INTERSECT;
user_request->processed = false;
- if (reg_call_crda(user_request)) {
+ if (reg_query_database(user_request)) {
reg_update_last_request(user_request);
user_alpha2[0] = user_request->alpha2[0];
user_alpha2[1] = user_request->alpha2[1];
return treatment;
}
- if (reg_call_crda(driver_request))
+ if (reg_query_database(driver_request))
reg_update_last_request(driver_request);
else
reg_free_request(driver_request);
country_ie_request->intersect = false;
country_ie_request->processed = false;
- if (reg_call_crda(country_ie_request))
+ if (reg_query_database(country_ie_request))
reg_update_last_request(country_ie_request);
else
reg_free_request(country_ie_request);