diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2015-09-25 22:41:06 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2015-09-25 22:41:25 +0200 |
commit | b35de2b15f7e3a5b6e58505829cf097d84e51820 (patch) | |
tree | 0b684ef7d5e8a6114145f08040bae3fbc4dc3fe5 /src | |
parent | 7cb3b3faad7043374b01c96e875ba10694b40517 (diff) |
modem-helpers-qmi: remove wrong check warning
This check makes no sense. We're converting from a ModemManager enum to a QMI
enum, nothing else; i.e. 'caps' is *not* the current capabilities of the modem.
Diffstat (limited to 'src')
-rw-r--r-- | src/mm-modem-helpers-qmi.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mm-modem-helpers-qmi.c b/src/mm-modem-helpers-qmi.c index 7e385320..778ce9e7 100644 --- a/src/mm-modem-helpers-qmi.c +++ b/src/mm-modem-helpers-qmi.c @@ -985,11 +985,6 @@ mm_modem_capability_to_qmi_radio_technology_preference (MMModemCapability caps) { QmiNasRadioTechnologyPreference qmi = 0; - /* It is not expected to have a modem supporting 3GPP and 3GPP2 at the same - * time but not supporting SSP. */ - g_warn_if_fail (caps & MM_MODEM_CAPABILITY_GSM_UMTS && - caps & MM_MODEM_CAPABILITY_CDMA_EVDO); - if (caps & MM_MODEM_CAPABILITY_GSM_UMTS) { qmi |= QMI_NAS_RADIO_TECHNOLOGY_PREFERENCE_3GPP; qmi |= QMI_NAS_RADIO_TECHNOLOGY_PREFERENCE_AMPS_OR_GSM; |