No longer suspend the phone when starting the application
This commit is contained in:
parent
ed07ffacf2
commit
3b9321aaef
@ -2263,6 +2263,7 @@ static gboolean _reset_settle(gpointer data)
|
|||||||
GSM * gsm = data;
|
GSM * gsm = data;
|
||||||
|
|
||||||
gsm_modem_reset(gsm->modem);
|
gsm_modem_reset(gsm->modem);
|
||||||
|
/* XXX may be send multiple times until it really is online */
|
||||||
_gsm_event_send(gsm, GSM_EVENT_TYPE_ONLINE);
|
_gsm_event_send(gsm, GSM_EVENT_TYPE_ONLINE);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
@ -417,7 +417,7 @@ static gboolean _new_idle(gpointer data)
|
|||||||
if((plugins = config_get(phone->config, NULL, "plugins")) != NULL)
|
if((plugins = config_get(phone->config, NULL, "plugins")) != NULL)
|
||||||
_idle_load_plugins(phone, plugins);
|
_idle_load_plugins(phone, plugins);
|
||||||
phone->source = 0;
|
phone->source = 0;
|
||||||
gsm_reset(phone->gsm, 0);
|
gsm_start(phone->gsm, 0);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user