supplicant-config: fix misleading indentation

This commit is contained in:
Lubomir Rintel
2016-03-20 17:05:35 +01:00
parent 53029e321d
commit 357a1c61a0

View File

@@ -761,7 +761,7 @@ nm_supplicant_config_add_setting_wireless_security (NMSupplicantConfig *self,
} else { } else {
/* 802.1x for Dynamic WEP and WPA-Enterprise */ /* 802.1x for Dynamic WEP and WPA-Enterprise */
if (!strcmp (key_mgmt, "ieee8021x") || !strcmp (key_mgmt, "wpa-eap")) { if (!strcmp (key_mgmt, "ieee8021x") || !strcmp (key_mgmt, "wpa-eap")) {
if (!setting_8021x) { if (!setting_8021x) {
g_set_error (error, NM_SUPPLICANT_ERROR, NM_SUPPLICANT_ERROR_CONFIG, g_set_error (error, NM_SUPPLICANT_ERROR, NM_SUPPLICANT_ERROR_CONFIG,
"Cannot set key-mgmt %s with missing 8021x setting", key_mgmt); "Cannot set key-mgmt %s with missing 8021x setting", key_mgmt);
return FALSE; return FALSE;