Fix key name
authorPhilippe Nunes <philippe.nunes@linux.intel.com>
Tue, 9 Apr 2013 08:40:30 +0000 (10:40 +0200)
committerPhilippe Nunes <philippe.nunes@linux.intel.com>
Tue, 9 Apr 2013 08:40:30 +0000 (10:40 +0200)
src/tapi_network.c

index 6440014..5267250 100644 (file)
@@ -358,7 +358,7 @@ static void on_response_get_network_preferred_plmn(GDBusConnection *conn, GAsync
                        if (!g_strcmp0(key, "act")) {
                                list.PrefPlmnRecord[i].SystemType = _convert_act_to_systemtype(g_variant_get_int32(value));
                        }
-                       if (!g_strcmp0(key, "ef_index")) {
+                       if (!g_strcmp0(key, "index")) {
                                list.PrefPlmnRecord[i].Index = g_variant_get_int32(value);
                        }
                        if (!g_strcmp0(key, "name")) {