From: Janusz Dziedzic Date: Sat, 12 Jan 2013 08:23:45 +0000 (+0200) Subject: wpa_supplicant: Save frequency configuration parameter X-Git-Tag: hostap_2_0~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bca06366a9f80327c13ce6c4eb8c18277f5dba89;p=thirdparty%2Fhostap.git 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 --- 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);