diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2021-04-08 22:40:20 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2021-04-09 00:53:12 +0200 |
commit | 3d665d22093b985f6860170bca8d33a5562056d1 (patch) | |
tree | 451f88657bf3fbfe862dd86a17b58b93666d9a6f | |
parent | 83a00a9457cec94febbef5afbf04777ccab9d902 (diff) |
libmm-glib,bearer-properties: fix usage of CMP_FLAGS_NO_RM_PROTOCOL
-rw-r--r-- | libmm-glib/mm-bearer-properties.c | 6 |
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; |