From bca06366a9f80327c13ce6c4eb8c18277f5dba89 Mon Sep 17 00:00:00 2001 From: Janusz Dziedzic Date: Sat, 12 Jan 2013 10:23:45 +0200 Subject: [PATCH] wpa_supplicant: Save frequency configuration parameter In case of wpa_supplicant IBSS and AP modes after we will call wpa_cli save command we should also save configured frequency. In other case after wpa_supplicant restart we have frequency = 0 and AP start will fail. Signed-hostap: Janusz Dziedzic --- wpa_supplicant/config_file.c | 1 + 1 file changed, 1 insertion(+) diff --git a/wpa_supplicant/config_file.c b/wpa_supplicant/config_file.c index b6fb3e607..8f32cc8d9 100644 --- a/wpa_supplicant/config_file.c +++ b/wpa_supplicant/config_file.c @@ -678,6 +678,7 @@ static void wpa_config_write_network(FILE *f, struct wpa_ssid *ssid) INT_DEFe(fragment_size, DEFAULT_FRAGMENT_SIZE); #endif /* IEEE8021X_EAPOL */ INT(mode); + INT(frequency); write_int(f, "proactive_key_caching", ssid->proactive_key_caching, -1); INT(disabled); INT(peerkey);