diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-08-28 17:25:25 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-08-28 17:25:25 +0200 |
commit | 3ee1fb691c87cee5a5c27548a2f8dc03e596ec17 (patch) | |
tree | d57577607cfff227f5cb77aabbf405312907ec96 /src | |
parent | 26e95b2d3c979bf35a49466a2b245a39da82fde0 (diff) |
iface-modem-cdma: don't try to update anything if no skeleton available
Diffstat (limited to 'src')
-rw-r--r-- | src/mm-iface-modem-cdma.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mm-iface-modem-cdma.c b/src/mm-iface-modem-cdma.c index 32e87771..a02e6299 100644 --- a/src/mm-iface-modem-cdma.c +++ b/src/mm-iface-modem-cdma.c @@ -911,6 +911,8 @@ mm_iface_modem_cdma_update_evdo_registration_state (MMIfaceModemCdma *self, MM_IFACE_MODEM_CDMA_EVDO_NETWORK_SUPPORTED, &supported, MM_IFACE_MODEM_CDMA_DBUS_SKELETON, &skeleton, NULL); + if (!skeleton) + return; if (supported) { /* The property in the interface is bound to the property @@ -960,6 +962,8 @@ mm_iface_modem_cdma_update_cdma1x_registration_state (MMIfaceModemCdma *self, MM_IFACE_MODEM_CDMA_CDMA1X_NETWORK_SUPPORTED, &supported, MM_IFACE_MODEM_CDMA_DBUS_SKELETON, &skeleton, NULL); + if (!skeleton) + return; if (supported) { /* The property in the interface is bound to the property |