aboutsummaryrefslogtreecommitdiff
path: root/src/mm-iface-modem.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-02-01 18:12:44 +0100
committerAleksander Morgado <aleksander@lanedo.com>2012-03-15 14:14:59 +0100
commitcd5e9c27a37ae2994dfab344ff83912c66cc4c12 (patch)
tree2a7c74d02f92be4fc0ec1a2d586a4ecaa41a1eeb /src/mm-iface-modem.c
parent47a990390175747b2d213681eda4f41a6edb7a7b (diff)
broadband-modem: if locked, don't try to initialize remaining interfaces
Whenever we get unlocked, the modem initialization sequence will be run again.
Diffstat (limited to 'src/mm-iface-modem.c')
-rw-r--r--src/mm-iface-modem.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/mm-iface-modem.c b/src/mm-iface-modem.c
index 87a2eeb7..c97905de 100644
--- a/src/mm-iface-modem.c
+++ b/src/mm-iface-modem.c
@@ -1640,10 +1640,12 @@ unlock_check_context_free (UnlockCheckContext *ctx)
static gboolean
restart_initialize_idle (MMIfaceModem *self)
{
- mm_iface_modem_initialize (self,
- mm_base_modem_get_port_primary (MM_BASE_MODEM (self)),
- NULL,
- NULL);
+ MM_BASE_MODEM_GET_CLASS (self)->initialize (
+ MM_BASE_MODEM (self),
+ mm_base_modem_get_port_primary (MM_BASE_MODEM (self)),
+ NULL,
+ NULL,
+ NULL);
return FALSE;
}