aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruno Randolf <br1@einfach.org>2013-02-02 11:10:33 +0000
committerChirayu Desai <cdesai@cyanogenmod.org>2013-03-20 17:24:14 +0530
commita526cad2b2713d368003f40c0a23e89c5ec3d4d2 (patch)
treee60b13ddb958d13e26b6c419b133ceb36267fcc5
parentad60a61170a65d8cd2b4f859f7a97217bd51e8b2 (diff)
downloadexternal_wpa_supplicant_8-a526cad2b2713d368003f40c0a23e89c5ec3d4d2.zip
external_wpa_supplicant_8-a526cad2b2713d368003f40c0a23e89c5ec3d4d2.tar.gz
external_wpa_supplicant_8-a526cad2b2713d368003f40c0a23e89c5ec3d4d2.tar.bz2
Save frequency to network config
Also save frequency in wpa_config_write_network(). This is necessary for creating IBSS networks which requires the frequency to be set. Change-Id: Ic051d1ca1ce3b1d4bad231d46e86c21e818af5de
-rw-r--r--wpa_supplicant/config_file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/config_file.c b/wpa_supplicant/config_file.c
index 531957a..e4c787a 100644
--- a/wpa_supplicant/config_file.c
+++ b/wpa_supplicant/config_file.c
@@ -676,6 +676,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);
INT(proactive_key_caching);
INT(disabled);
INT(peerkey);