[PATCH]: wpa_gui-qt4: activate wep input fields when processing network info from scan results

Kel Modderman kel
Tue Jan 29 22:46:50 PST 2008


Currently the networkconfig form does not activate the wep input fields
when adding a new network with WEP string in flags determined from scan
results.

Signed-off-by: Kel Modderman <kel at otaku42.de>
---
--- a/wpa_supplicant/wpa_gui-qt4/networkconfig.cpp
+++ b/wpa_supplicant/wpa_gui-qt4/networkconfig.cpp
@@ -92,6 +92,8 @@
 	authChanged(auth);
 	encrSelect->setCurrentIndex(encr);
 
+	wepEnabled((auth == AUTH_NONE && encr == 1));
+
 	getEapCapa();
 }
 
---



More information about the Hostap mailing list