libmm-glib,bearer-properties: fix usage of CMP_FLAGS_NO_RM_PROTOCOL

This commit is contained in:
Aleksander Morgado
2021-04-08 22:40:20 +02:00
parent 83a00a9457
commit 3d665d2209

View File

@@ -822,8 +822,10 @@ mm_bearer_properties_cmp (MMBearerProperties *a,
if (a->priv->allow_roaming_set != b->priv->allow_roaming_set) if (a->priv->allow_roaming_set != b->priv->allow_roaming_set)
return FALSE; return FALSE;
} }
if (!(flags & MM_BEARER_PROPERTIES_CMP_FLAGS_NO_RM_PROTOCOL)) {
if (a->priv->rm_protocol != b->priv->rm_protocol) if (a->priv->rm_protocol != b->priv->rm_protocol)
return FALSE; return FALSE;
}
if (a->priv->multiplex != b->priv->multiplex) if (a->priv->multiplex != b->priv->multiplex)
return FALSE; return FALSE;
return TRUE; return TRUE;