Remove MCC and MNC from Service
authorPekka Pessi <Pekka.Pessi@nokia.com>
Mon, 17 Jan 2011 21:45:43 +0000 (23:45 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 18 Jan 2011 12:36:18 +0000 (13:36 +0100)
MCC and MNC are not set by oFono plugin.

src/service.c

index 40fd87d..2476cbc 100644 (file)
@@ -1391,13 +1391,6 @@ static void append_properties(DBusMessageIter *dict, dbus_bool_t limited,
                connman_dbus_dict_append_basic(dict, "Roaming",
                                        DBUS_TYPE_BOOLEAN, &service->roaming);
 
-               if (service->mcc != NULL && service->mnc != NULL) {
-                       connman_dbus_dict_append_basic(dict, "MCC",
-                                       DBUS_TYPE_STRING, &service->mcc);
-                       connman_dbus_dict_append_basic(dict, "MNC",
-                                       DBUS_TYPE_STRING, &service->mnc);
-               }
-
                if (service->apn != NULL) {
                        connman_dbus_dict_append_basic(dict, "APN",
                                        DBUS_TYPE_STRING, &service->apn);