libmm-glib,bearer-properties: fix 'allow roaming' comparison
Fix the 'allow roaming' setting comparison, which was breaking the
whole bearer properties comparison logic, and therefore making
Simple.Connect() recreate over and over the bearer with the same
settings.
Fixes 5629f47a59
This commit is contained in:
@@ -761,7 +761,7 @@ mm_bearer_properties_cmp (MMBearerProperties *a,
|
|||||||
if (!(flags & MM_BEARER_PROPERTIES_CMP_FLAGS_NO_ALLOW_ROAMING)) {
|
if (!(flags & MM_BEARER_PROPERTIES_CMP_FLAGS_NO_ALLOW_ROAMING)) {
|
||||||
if (a->priv->allow_roaming != b->priv->allow_roaming)
|
if (a->priv->allow_roaming != b->priv->allow_roaming)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
if (a->priv->allow_roaming_set != b->priv->allow_roaming)
|
if (a->priv->allow_roaming_set != b->priv->allow_roaming_set)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
if (a->priv->rm_protocol != b->priv->rm_protocol)
|
if (a->priv->rm_protocol != b->priv->rm_protocol)
|
||||||
|
Reference in New Issue
Block a user