aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2008-12-18 18:03:24 (GMT)
committerJouni Malinen <j@w1.fi>2008-12-18 18:03:24 (GMT)
commitc3ece5044631c095cc72da254acddaf90930463a (patch)
tree0f82d4df99c11bbc75b4a8763c2685bd23cefb55 /wpa_supplicant
parentbae61562a4e808078d32f361ba396c9bf8046c7d (diff)
downloadhostap-06-c3ece5044631c095cc72da254acddaf90930463a.zip
hostap-06-c3ece5044631c095cc72da254acddaf90930463a.tar.gz
hostap-06-c3ece5044631c095cc72da254acddaf90930463a.tar.bz2
Fixed PSK editing in wpa_gui (copy-paste bug in field names)
Diffstat (limited to 'wpa_supplicant')
-rw-r--r--wpa_supplicant/ChangeLog1
-rw-r--r--wpa_supplicant/wpa_gui-qt4/networkconfig.cpp2
-rw-r--r--wpa_supplicant/wpa_gui/networkconfig.ui.h2
3 files changed, 3 insertions, 2 deletions
diff --git a/wpa_supplicant/ChangeLog b/wpa_supplicant/ChangeLog
index 14ad8ce..d320c7c 100644
--- a/wpa_supplicant/ChangeLog
+++ b/wpa_supplicant/ChangeLog
@@ -14,6 +14,7 @@ ChangeLog for wpa_supplicant
* added support for using driver_test over UDP socket
* fixed PEAPv0 Cryptobinding interoperability issue with Windows Server
2008 NPS; optional cryptobinding is now enabled (again) by default
+ * fixed PSK editing in wpa_gui
2008-11-23 - v0.6.6
* added Milenage SIM/USIM emulator for EAP-SIM/EAP-AKA
diff --git a/wpa_supplicant/wpa_gui-qt4/networkconfig.cpp b/wpa_supplicant/wpa_gui-qt4/networkconfig.cpp
index a176d05..8d5d23b 100644
--- a/wpa_supplicant/wpa_gui-qt4/networkconfig.cpp
+++ b/wpa_supplicant/wpa_gui-qt4/networkconfig.cpp
@@ -278,7 +278,7 @@ void NetworkConfig::addNetwork()
setNetworkParam(id, "group", "TKIP CCMP WEP104 WEP40", false);
}
if (pskEdit->isEnabled() &&
- strcmp(passwordEdit->text().toAscii().constData(),
+ strcmp(pskEdit->text().toAscii().constData(),
WPA_GUI_KEY_DATA) != 0)
setNetworkParam(id, "psk",
pskEdit->text().toAscii().constData(),
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);