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; done = TRUE;
break; break;
case MM_MODEM_GSM_NETWORK_REG_STATUS_IDLE: case MM_MODEM_GSM_NETWORK_REG_STATUS_IDLE:
/* Huh? Stupid card, we already told it to register, tell again */ /* Huh? Stupid card, we told it to register, pretend it returned SEARCHING
real_register (serial, (hoping it will eventually start searching) */
(char *) mm_callback_info_get_data (info, "reg-network-id"), /* fall through */
info);
break;
case MM_MODEM_GSM_NETWORK_REG_STATUS_SEARCHING: case MM_MODEM_GSM_NETWORK_REG_STATUS_SEARCHING:
/* Wait more until the timeout expires. */ /* Wait more until the timeout expires. */
id = GPOINTER_TO_INT (mm_callback_info_get_data (info, "reg-status-timeout")); id = GPOINTER_TO_INT (mm_callback_info_get_data (info, "reg-status-timeout"));