diff options
-rw-r--r-- | src/mm-base-bearer.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mm-base-bearer.c b/src/mm-base-bearer.c index dd4f1ef2..be702132 100644 --- a/src/mm-base-bearer.c +++ b/src/mm-base-bearer.c @@ -428,6 +428,10 @@ bearer_update_status (MMBaseBearer *self, /* NOTE: we do allow status 'CONNECTED' here; it may happen if we go into * DISCONNECTING and we cannot disconnect */ + /* Do nothing if the status is the same */ + if (self->priv->status == status) + return; + /* Update the property value */ self->priv->status = status; g_object_notify_by_pspec (G_OBJECT (self), properties[PROP_STATUS]); |