From 84ec3d2fcf081ab3404d27458031c87aa6214065 Mon Sep 17 00:00:00 2001 From: Giacinto Cifelli Date: Tue, 26 May 2020 15:00:03 +0200 Subject: [PATCH] cinterion: simplify check no longer need to check the charset because of the fix in charsets, that now accepts GSM and UCS2. --- plugins/cinterion/mm-modem-helpers-cinterion.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/cinterion/mm-modem-helpers-cinterion.c b/plugins/cinterion/mm-modem-helpers-cinterion.c index 1d4f9901..9041960f 100644 --- a/plugins/cinterion/mm-modem-helpers-cinterion.c +++ b/plugins/cinterion/mm-modem-helpers-cinterion.c @@ -225,7 +225,7 @@ take_and_convert_from_matched_string (gchar *str, if (!str) return 0; - if (modem_family == MM_CINTERION_MODEM_FAMILY_IMT && charset == MM_MODEM_CHARSET_UCS2) + if (modem_family == MM_CINTERION_MODEM_FAMILY_IMT) str = mm_charset_take_and_convert_to_utf8 (str, charset); mm_get_uint_from_hex_str (str, &val);