diff --git a/src/main.cpp b/src/main.cpp index 380120ee..00a8bf2e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -276,7 +276,7 @@ void setup() { libpax_default_config(&configuration); // configure WIFI sniffing - strcpy(configuration.wifi_my_country, WIFI_MY_COUNTRY); + strcpy(configuration.wifi_my_country_str, WIFI_MY_COUNTRY); configuration.wificounter = cfg.wifiscan; configuration.wifi_channel_map = WIFI_CHANNEL_ALL; configuration.wifi_channel_switch_interval = cfg.wifichancycle;