File nma-wpa-eap-ttls-inner-auth.patch of Package NetworkManager-gnome

commit 6c0f3bc1b84268feffcadbe73bc55c570352c186
Author: Tambet Ingo <tambet@gmail.com>
Date:   Mon Feb 2 09:58:39 2009 +0200

    Fix a segfault on WPA-EAP TTLS connections with CHAP inner authentication method.

diff --git a/src/wireless-security/eap-method-ttls.c b/src/wireless-security/eap-method-ttls.c
index b393be3..d3018c9 100644
--- a/src/wireless-security/eap-method-ttls.c
+++ b/src/wireless-security/eap-method-ttls.c
@@ -355,7 +355,7 @@ inner_auth_combo_init (EAPMethodTTLS *method,
 
 	/* Check for defaulting to CHAP */
 	if (phase2_auth && !strcasecmp (phase2_auth, "chap"))
-		active = 4;
+		active = 3;
 
 	combo = glade_xml_get_widget (xml, "eap_ttls_inner_auth_combo");
 	g_assert (combo);