aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-03-12 14:13:14 +0100
committerAleksander Morgado <aleksander@lanedo.com>2012-04-03 11:00:06 +0200
commitd413c4b319bb45539db551cc617c01a766726454 (patch)
tree1f848e988d3aaf70e94f9177d27f5bb35129805f
parent7307c68913de9049357736c9b0dca9a8ae3b1484 (diff)
sim: b2=0 means to require showing SPN namedisplay-rules
-rw-r--r--src/mm-sim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mm-sim.c b/src/mm-sim.c
index e2f0faa2..ad468a8c 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);