aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wpa_gui/networkconfig.ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'wpa_supplicant/wpa_gui/networkconfig.ui.h')
-rw-r--r--wpa_supplicant/wpa_gui/networkconfig.ui.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/wpa_gui/networkconfig.ui.h b/wpa_supplicant/wpa_gui/networkconfig.ui.h
index 8259bfc..501d5d2 100644
--- a/wpa_supplicant/wpa_gui/networkconfig.ui.h
+++ b/wpa_supplicant/wpa_gui/networkconfig.ui.h
@@ -179,7 +179,7 @@ void NetworkConfig::addNetwork()
setNetworkParam(id, "group", "TKIP CCMP WEP104 WEP40", false);
}
if (pskEdit->isEnabled() &&
- strcmp(passwordEdit->text().ascii(), WPA_GUI_KEY_DATA) != 0)
+ strcmp(pskEdit->text().ascii(), WPA_GUI_KEY_DATA) != 0)
setNetworkParam(id, "psk", pskEdit->text().ascii(), psklen != 64);
if (eapSelect->isEnabled())
setNetworkParam(id, "eap", eapSelect->currentText().ascii(), false);