cinterion: fixed cast from wrong object

MM_BROADBAND_MODEM_CINTERION shall be applied to a *MMBaseModem
    (ctx->modem here)
and not to a *MMBaseBearer (self here)
This commit is contained in:
Giacinto Cifelli
2020-08-04 11:04:17 +02:00
parent 1620f04b9b
commit 422a9070c4
@@ -423,7 +423,7 @@ dial_3gpp_context_step (GTask *task)
gchar *command;
command = build_auth_string (self,
mm_broadband_modem_cinterion_get_family (MM_BROADBAND_MODEM_CINTERION (self)),
mm_broadband_modem_cinterion_get_family (MM_BROADBAND_MODEM_CINTERION (ctx->modem)),
mm_base_bearer_peek_config (MM_BASE_BEARER (ctx->self)),
ctx->cid);