[PATCH] Fix writing of the wowlan_triggers parameter
Philippe Nunes
philippe.nunes
Wed Jul 23 03:16:41 PDT 2014
The parameter wowlan_triggers is a global string and is not recognised
if it is embraced with double-quotes.
Signed-off-by: Philippe Nunes <philippe.nunes at linux.intel.com>
---
wpa_supplicant/config_file.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/wpa_supplicant/config_file.c b/wpa_supplicant/config_file.c
index 98855d8..73ad57a 100644
--- a/wpa_supplicant/config_file.c
+++ b/wpa_supplicant/config_file.c
@@ -1170,7 +1170,7 @@ static void wpa_config_write_global(FILE *f, struct wpa_config *config)
config->tdls_external_control);
if (config->wowlan_triggers)
- fprintf(f, "wowlan_triggers=\"%s\"\n",
+ fprintf(f, "wowlan_triggers=%s\n",
config->wowlan_triggers);
if (config->bgscan)
--
1.8.1.2
More information about the Hostap
mailing list