broadband-modem: assume CS if 2G supported
This commit is contained in:
@@ -1097,6 +1097,13 @@ supported_modes_ws46_test_ready (MMBroadbandModem *self,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* We'll assume CS supported if we have 2G */
|
||||||
|
if (!(ctx->mode & MM_MODEM_MODE_CS) &&
|
||||||
|
ctx->mode & MM_MODEM_MODE_2G) {
|
||||||
|
mm_dbg ("Assuming device allows (3GPP) 2G/3G network modes");
|
||||||
|
ctx->mode |= MM_MODEM_MODE_CS;
|
||||||
|
}
|
||||||
|
|
||||||
/* Now keep on with the loading, we may need CDMA-specific checks */
|
/* Now keep on with the loading, we may need CDMA-specific checks */
|
||||||
ctx->run_ws46 = FALSE;
|
ctx->run_ws46 = FALSE;
|
||||||
load_supported_modes_step (ctx);
|
load_supported_modes_step (ctx);
|
||||||
|
Reference in New Issue
Block a user