rtw_android: get_country_code needs additional flags parameter

This commit is contained in:
kimocoder 2020-02-01 09:24:11 +01:00
parent 0d2331d052
commit b3a4fa0b1b

View File

@ -1080,7 +1080,7 @@ void *wifi_get_country_code(char *ccode)
if (!ccode)
return NULL;
if (wifi_control_data && wifi_control_data->get_country_code)
return wifi_control_data->get_country_code(ccode);
return wifi_control_data->get_country_code(ccode, 0);
return NULL;
}
#endif /* (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 39)) */