aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mm-sim-qmi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mm-sim-qmi.c b/src/mm-sim-qmi.c
index 165994df..1dbec3a0 100644
--- a/src/mm-sim-qmi.c
+++ b/src/mm-sim-qmi.c
@@ -1011,10 +1011,10 @@ set_preferred_networks (MMBaseSim *self,
operator_code = mm_sim_preferred_network_get_operator_code (preferred_network_list->data);
act = mm_sim_preferred_network_get_access_technology (preferred_network_list->data);
- if (mm_3gpp_parse_operator_id (operator_code, &preferred_nets_element.mcc, &preferred_nets_element.mnc, NULL, NULL)) {
+ if (mm_3gpp_parse_operator_id (operator_code, &preferred_nets_element.mcc, &preferred_nets_element.mnc,
+ &pcs_digit_element.includes_pcs_digit, NULL)) {
pcs_digit_element.mcc = preferred_nets_element.mcc;
pcs_digit_element.mnc = preferred_nets_element.mnc;
- pcs_digit_element.includes_pcs_digit = strlen(operator_code) > 5;
preferred_nets_element.radio_access_technology = QMI_NAS_PLMN_ACCESS_TECHNOLOGY_IDENTIFIER_UNSPECIFIED;
if (act & MM_MODEM_ACCESS_TECHNOLOGY_GSM)