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:
Aleksander Morgado
2021-02-25 15:17:45 +01:00
parent 297a8c85ae
commit f10e4af919

View File

@@ -761,7 +761,7 @@ mm_bearer_properties_cmp (MMBearerProperties *a,
if (!(flags & MM_BEARER_PROPERTIES_CMP_FLAGS_NO_ALLOW_ROAMING)) {
if (a->priv->allow_roaming != b->priv->allow_roaming)
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;
}
if (a->priv->rm_protocol != b->priv->rm_protocol)