Revert "wpa_supplicant: fix -I option handling"
This reverts commit b9551352f7b1af5c6e3ab7c07827db56651f6935
This CL was not necessary after all.
Change-Id: I27ec7981f0c8d1dad409f827e7bf7f001378ee07
diff --git a/wpa_supplicant/config_file.c b/wpa_supplicant/config_file.c
index e32bf5a..8604ae8 100644
--- a/wpa_supplicant/config_file.c
+++ b/wpa_supplicant/config_file.c
@@ -435,11 +435,9 @@
fclose(f);
- if (head)
- config->ssid = head;
+ config->ssid = head;
wpa_config_debug_dump_networks(config);
- if (cred_head)
- config->cred = cred_head;
+ config->cred = cred_head;
#ifndef WPA_IGNORE_CONFIG_ERRORS
if (errors) {