libmm-glib,bearer-properties: fix usage of CMP_FLAGS_NO_RM_PROTOCOL
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user