cdma: give cards more time to register

5 was left-over from debugging unplug-while-registering issues,
was meant to be 15 (ie, 60 seconds) anyway.
This commit is contained in:
Dan Williams
2009-10-13 16:05:02 -07:00
parent 0bcdf6a7c1
commit c77dbb7a94

View File

@@ -1217,7 +1217,7 @@ simple_reg_callback (MMModemCdma *modem,
&& (evdo_reg_state == MM_MODEM_CDMA_REGISTRATION_STATE_UNKNOWN))) {
/* Not registered yet, queue up a retry */
priv->reg_tries++;
if (priv->reg_tries > 5) {
if (priv->reg_tries > 15) {
error = g_error_new_literal (MM_MOBILE_ERROR,
MM_MOBILE_ERROR_NO_NETWORK,
"No service");