Hope the card will eventually start searching after it replied OK to registration request.

This commit is contained in:
Tambet Ingo
2008-10-30 16:55:06 +02:00
parent de6c6cd561
commit 0b9badee75

View File

@@ -524,11 +524,9 @@ get_reg_status_done (MMSerial *serial,
done = TRUE;
break;
case MM_MODEM_GSM_NETWORK_REG_STATUS_IDLE:
/* Huh? Stupid card, we already told it to register, tell again */
real_register (serial,
(char *) mm_callback_info_get_data (info, "reg-network-id"),
info);
break;
/* Huh? Stupid card, we told it to register, pretend it returned SEARCHING
(hoping it will eventually start searching) */
/* fall through */
case MM_MODEM_GSM_NETWORK_REG_STATUS_SEARCHING:
/* Wait more until the timeout expires. */
id = GPOINTER_TO_INT (mm_callback_info_get_data (info, "reg-status-timeout"));