novatel-lte: increase the wait after SIM unlock to 3 seconds

After repeated stress tests on a few Novatel E362 modems and SIM cards,
it is revealed that a 3-second wait after SIM unlock is necessary for
reliably reading ICCID and IMSI through the SIM interface.
This commit is contained in:
Ben Chan
2012-11-02 08:19:47 +01:00
committed by Aleksander Morgado
parent 02ef7d9547
commit 15f7a370d2
@@ -152,9 +152,9 @@ modem_after_sim_unlock (MMIfaceModem *self,
user_data,
modem_after_sim_unlock);
/* A 2-second wait is necessary for SIM to become ready.
/* A 3-second wait is necessary for SIM to become ready.
* Otherwise, a subsequent AT+CRSM command will likely fail. */
g_timeout_add_seconds (2, (GSourceFunc)after_sim_unlock_wait_cb, result);
g_timeout_add_seconds (3, (GSourceFunc)after_sim_unlock_wait_cb, result);
}
/*****************************************************************************/