From cc4e7f6cfdd4b07f578f84d6994ce38ee811b288 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Mon, 14 Oct 2019 12:44:47 +0200 Subject: [PATCH] shared-qmi: fix NAS SSP support check during supported caps loading --- src/mm-shared-qmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mm-shared-qmi.c b/src/mm-shared-qmi.c index 9629fab7..d1a78d49 100644 --- a/src/mm-shared-qmi.c +++ b/src/mm-shared-qmi.c @@ -1000,7 +1000,7 @@ mm_shared_qmi_load_supported_capabilities (MMIfaceModem *self, * switching only when switching GSM/UMTS+CDMA/EVDO multimode devices, and only if * we have support for the commands doing it. */ - if (priv->feature_nas_technology_preference == FEATURE_SUPPORTED || priv->feature_nas_system_selection_preference == FEATURE_UNKNOWN) { + if (priv->feature_nas_technology_preference == FEATURE_SUPPORTED || priv->feature_nas_system_selection_preference == FEATURE_SUPPORTED) { if (mask == (MM_MODEM_CAPABILITY_GSM_UMTS | MM_MODEM_CAPABILITY_CDMA_EVDO)) { /* Multimode GSM/UMTS+CDMA/EVDO device switched to GSM/UMTS only */ single = MM_MODEM_CAPABILITY_GSM_UMTS;