iface-modem-3gpp: don't try to update anything if no skeleton available

This commit is contained in:
Aleksander Morgado
2012-08-28 17:25:32 +02:00
parent 3ee1fb691c
commit ae9e2df294

View File

@@ -602,6 +602,9 @@ update_registration_state (MMIfaceModem3gpp *self,
MM_IFACE_MODEM_3GPP_DBUS_SKELETON, &skeleton,
NULL);
if (!skeleton)
return;
/* Only set new state if different */
if (new_state != old_state) {
mm_info ("Modem %s: 3GPP Registration state changed (%s -> %s)",