cdma: return registration state, not error, when unregistered

This commit is contained in:
Dan Williams
2009-10-26 17:59:33 -07:00
parent 49b5ffd076
commit 4e74953b91

View File

@@ -1112,9 +1112,8 @@ get_analog_digital_done (MMSerialPort *port,
return;
} else {
/* No service */
info->error = g_error_new_literal (MM_MOBILE_ERROR,
MM_MOBILE_ERROR_NO_NETWORK,
"No service");
set_callback_1x_state_helper (info, MM_MODEM_CDMA_REGISTRATION_STATE_UNKNOWN);
set_callback_evdo_state_helper (info, MM_MODEM_CDMA_REGISTRATION_STATE_UNKNOWN);
}
error: