diff options
-rw-r--r-- | plugins/mbm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/mbm.c b/plugins/mbm.c index 38583ac9..4048f6a9 100644 --- a/plugins/mbm.c +++ b/plugins/mbm.c @@ -351,6 +351,9 @@ static void mbm_disconnect(gpointer user_data) data->data_port = NULL; /* Waiting for the +CGEV: ME DEACT might also work */ + if (data->reopen_source > 0) + g_source_remove(data->reopen_source); + data->reopen_source = g_timeout_add_seconds(1, reopen_callback, modem); } |