--- src/settings/plugins/keyfile/writer.c.orig	2011-10-27 11:28:04.015934551 +0200
+++ src/settings/plugins/keyfile/writer.c	2011-10-27 11:40:54.007908217 +0200
@@ -664,7 +664,7 @@
 	}
 	g_return_if_fail (objtype != NULL);
 
-	scheme = objtypes->scheme_func (NM_SETTING_802_1X (setting));
+	scheme = objtype->scheme_func (NM_SETTING_802_1X (setting));
 	if (scheme == NM_SETTING_802_1X_CK_SCHEME_PATH) {
 		path = objtype->path_func (NM_SETTING_802_1X (setting));
 		g_assert (path);
