From b3a4fa0b1b9357ea8cfdc550d9f33283854e0a13 Mon Sep 17 00:00:00 2001 From: kimocoder Date: Sat, 1 Feb 2020 09:24:11 +0100 Subject: [PATCH] rtw_android: get_country_code needs additional flags parameter --- os_dep/linux/rtw_android.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os_dep/linux/rtw_android.c b/os_dep/linux/rtw_android.c index 55fe2bd..333267b 100644 --- a/os_dep/linux/rtw_android.c +++ b/os_dep/linux/rtw_android.c @@ -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)) */