Correct the modem properties key name
authorMartin Xu <martin.xu@intel.com>
Fri, 19 Mar 2010 06:44:21 +0000 (14:44 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 19 Mar 2010 07:45:06 +0000 (08:45 +0100)
plugins/ofono.c

index 75c4ca5..960753b 100644 (file)
@@ -1089,7 +1089,7 @@ static void modem_properties_reply(DBusPendingCall *call, void *user_data)
                                modem_change_powered(path, TRUE);
                                break;
                        }
-               } else if (g_str_equal(key, "Interface") == TRUE) {
+               } else if (g_str_equal(key, "Interfaces") == TRUE) {
                        if (modem_has_gprs(&value) == TRUE)
                                get_imsi(path);
                }