Fix writing of the wowlan_triggers parameter

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@linux.intel.com>
This commit is contained in:
Philippe Nunes 2014-07-23 12:16:41 +02:00 committed by Jouni Malinen
parent ec5357323c
commit 8b627b7c47

View file

@ -1170,7 +1170,7 @@ static void wpa_config_write_global(FILE *f, struct wpa_config *config)
config->tdls_external_control); config->tdls_external_control);
if (config->wowlan_triggers) if (config->wowlan_triggers)
fprintf(f, "wowlan_triggers=\"%s\"\n", fprintf(f, "wowlan_triggers=%s\n",
config->wowlan_triggers); config->wowlan_triggers);
if (config->bgscan) if (config->bgscan)