broadband-modem: fix check for QCDM capability
has_qcdm_port was never set to TRUE anywhere...
This commit is contained in:

committed by
Aleksander Morgado

parent
0ccfcbd986
commit
c697027cee
@@ -3751,8 +3751,7 @@ setup_registration_checks (MMIfaceModemCdma *self,
|
|||||||
setup_registration_checks);
|
setup_registration_checks);
|
||||||
|
|
||||||
/* Check if we have a QCDM port */
|
/* Check if we have a QCDM port */
|
||||||
if (!mm_base_modem_get_port_qcdm (MM_BASE_MODEM (self)))
|
ctx->has_qcdm_port = !!mm_base_modem_get_port_qcdm (MM_BASE_MODEM (self));
|
||||||
ctx->has_qcdm_port = FALSE;
|
|
||||||
|
|
||||||
/* If we have cached results of Sprint command checking, use them */
|
/* If we have cached results of Sprint command checking, use them */
|
||||||
if (ctx->self->priv->checked_sprint_support) {
|
if (ctx->self->priv->checked_sprint_support) {
|
||||||
|
Reference in New Issue
Block a user