iface-modem-3gpp: request access tech update after registration attempt

This commit is contained in:
Aleksander Morgado
2014-02-26 13:01:44 +01:00
parent 73dad3d899
commit 8a47dce5fb

View File

@@ -260,6 +260,8 @@ run_registration_checks_ready (MMIfaceModem3gpp *self,
/* If we got registered, end registration checks */
if (current_registration_state == MM_MODEM_3GPP_REGISTRATION_STATE_HOME ||
current_registration_state == MM_MODEM_3GPP_REGISTRATION_STATE_ROAMING) {
/* Request immediate access tech update */
mm_iface_modem_refresh_access_technologies (MM_IFACE_MODEM (ctx->self));
mm_dbg ("Modem is currently registered in a 3GPP network");
g_simple_async_result_set_op_res_gboolean (ctx->result, TRUE);
register_in_network_context_complete_and_free (ctx);