projects
/
mech_eap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
540609c
)
Do not write bg_scan_period value if default (-1) has not been changed
author
Jouni Malinen
<j@w1.fi>
Fri, 6 Apr 2012 15:11:47 +0000
(18:11 +0300)
committer
Jouni Malinen
<j@w1.fi>
Fri, 6 Apr 2012 15:11:47 +0000
(18:11 +0300)
There is no need to force this configuration parameter to be written
into the configuration file for each network block that has not modified
the default value.
Signed-hostap: Jouni Malinen <j@w1.fi>
wpa_supplicant/config_file.c
patch
|
blob
|
history
diff --git
a/wpa_supplicant/config_file.c
b/wpa_supplicant/config_file.c
index
2a323b0
..
671f7d6
100644
(file)
--- a/
wpa_supplicant/config_file.c
+++ b/
wpa_supplicant/config_file.c
@@
-588,7
+588,7
@@
static void wpa_config_write_network(FILE *f, struct wpa_ssid *ssid)
write_psk(f, ssid);
write_proto(f, ssid);
write_key_mgmt(f, ssid);
- INT
(bg_scan_period
);
+ INT
_DEF(bg_scan_period, DEFAULT_BG_SCAN_PERIOD
);
write_pairwise(f, ssid);
write_group(f, ssid);
write_auth_alg(f, ssid);