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)
|
||||
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;
|
||||
|
Reference in New Issue
Block a user