Fix writing of provisioning_sp cred parameter

This was supposed to be within quotation marks in the configuration
file.

Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2014-04-16 01:40:44 +03:00
parent d2c33b91ad
commit f777fd127f

View file

@ -809,7 +809,7 @@ static void wpa_config_write_cred(FILE *f, struct wpa_cred *cred)
fprintf(f, "\tupdate_identifier=%d\n", cred->update_identifier); fprintf(f, "\tupdate_identifier=%d\n", cred->update_identifier);
if (cred->provisioning_sp) if (cred->provisioning_sp)
fprintf(f, "\tprovisioning_sp=%s\n", cred->provisioning_sp); fprintf(f, "\tprovisioning_sp=\"%s\"\n", cred->provisioning_sp);
if (cred->sp_priority) if (cred->sp_priority)
fprintf(f, "\tsp_priority=%d\n", cred->sp_priority); fprintf(f, "\tsp_priority=%d\n", cred->sp_priority);