aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2021-02-25 15:17:45 +0100
committerAleksander Morgado <aleksander@aleksander.es>2021-02-25 15:23:36 +0100
commitf10e4af919df8b92b5680e646a16a490fa80d9c3 (patch)
tree947086555a327413f4b9e41b5b52173c01e7a4cd
parent297a8c85ae2b52bbcbf53daa40ab96fb406ca32c (diff)
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 5629f47a59b48f2604fd8e9e4af7209b138aef21
-rw-r--r--libmm-glib/mm-bearer-properties.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmm-glib/mm-bearer-properties.c b/libmm-glib/mm-bearer-properties.c
index f3ccddbe..4305cec7 100644
--- a/libmm-glib/mm-bearer-properties.c
+++ b/libmm-glib/mm-bearer-properties.c
@@ -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)