From d413c4b319bb45539db551cc617c01a766726454 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Mon, 12 Mar 2012 14:13:14 +0100 Subject: sim: b2=0 means to require showing SPN name --- src/mm-sim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/mm-sim.c b/src/mm-sim.c index e2f0faa2d..ad468a8c4 100644 --- a/src/mm-sim.c +++ b/src/mm-sim.c @@ -1304,7 +1304,7 @@ parse_spn (const gchar *response, *display_op_roaming = FALSE; } else { *display_reg_home = ((bin[0] & 1) == 1); - *display_op_roaming = ((bin[0] & 2) == 2); + *display_op_roaming = ((bin[0] & 2) == 0); } /* Remainder is GSM-7 unpacked into octets; convert to UTF8 */ utf8 = (gchar *)mm_charset_gsm_unpacked_to_utf8 ((guint8 *)bin + 1, buflen - 1); -- cgit v1.2.1