No longer suspend the phone when starting the application

This commit is contained in:
Pierre Pronchery 2010-11-17 14:58:20 +00:00
parent ed07ffacf2
commit 3b9321aaef
2 changed files with 2 additions and 1 deletions

View File

@ -2263,6 +2263,7 @@ static gboolean _reset_settle(gpointer data)
GSM * gsm = data;
gsm_modem_reset(gsm->modem);
/* XXX may be send multiple times until it really is online */
_gsm_event_send(gsm, GSM_EVENT_TYPE_ONLINE);
return TRUE;
}

View File

@ -417,7 +417,7 @@ static gboolean _new_idle(gpointer data)
if((plugins = config_get(phone->config, NULL, "plugins")) != NULL)
_idle_load_plugins(phone, plugins);
phone->source = 0;
gsm_reset(phone->gsm, 0);
gsm_start(phone->gsm, 0);
return FALSE;
}