aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libmm-glib/mm-bearer-properties.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libmm-glib/mm-bearer-properties.c b/libmm-glib/mm-bearer-properties.c
index e81d368a..37c65a00 100644
--- a/libmm-glib/mm-bearer-properties.c
+++ b/libmm-glib/mm-bearer-properties.c
@@ -822,8 +822,10 @@ mm_bearer_properties_cmp (MMBearerProperties *a,
if (a->priv->allow_roaming_set != b->priv->allow_roaming_set)
return FALSE;
}
- if (a->priv->rm_protocol != b->priv->rm_protocol)
- return FALSE;
+ if (!(flags & MM_BEARER_PROPERTIES_CMP_FLAGS_NO_RM_PROTOCOL)) {
+ if (a->priv->rm_protocol != b->priv->rm_protocol)
+ return FALSE;
+ }
if (a->priv->multiplex != b->priv->multiplex)
return FALSE;
return TRUE;