aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiacinto Cifelli <gciofono@gmail.com>2020-05-26 15:00:03 +0200
committerAleksander Morgado <aleksander@aleksander.es>2020-05-26 14:26:14 +0000
commit84ec3d2fcf081ab3404d27458031c87aa6214065 (patch)
treee67cdf8e34f99ef57308135ac9d4048aa3544fe5
parent502c636516b68dc1556f574a9cc2922462d077bf (diff)
cinterion: simplify check
no longer need to check the charset because of the fix in charsets, that now accepts GSM and UCS2.
-rw-r--r--plugins/cinterion/mm-modem-helpers-cinterion.c2
1 files changed, 1 insertions, 1 deletions
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);