[PATCH] HS2.0 R2: Fix writing of domain_suffix_match cred parameter

Sreenath Sharma sreenats
Mon Apr 28 04:57:47 PDT 2014


This was supposed to end with newline character so that parameters are
aligned  in configuration file.

Signed-off-by: Sreenath Sharma <sreenats at broadcom.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 8d59f49..39a1ce0 100644
--- a/wpa_supplicant/config_file.c
+++ b/wpa_supplicant/config_file.c
@@ -771,7 +771,7 @@ static void wpa_config_write_cred(FILE *f, struct wpa_cred *cred)
 	for (i = 0; i < cred->num_domain; i++)
 		fprintf(f, "\tdomain=\"%s\"\n", cred->domain[i]);
 	if (cred->domain_suffix_match)
-		fprintf(f, "\tdomain_suffix_match=\"%s\"",
+		fprintf(f, "\tdomain_suffix_match=\"%s\"\n",
 			cred->domain_suffix_match);
 	if (cred->roaming_consortium_len) {
 		fprintf(f, "\troaming_consortium=");
-- 
1.7.9.5




More information about the Hostap mailing list