aboutsummaryrefslogtreecommitdiff
path: root/src/mm-bearer-list.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-04-02 20:25:18 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-05-06 17:12:36 +0200
commitcaeeae27219a91384fa41ac5a1e0f21e1edbaa76 (patch)
tree1f270be57c11705d796c50a7fa82837c11d10372 /src/mm-bearer-list.c
parent1984c155ad7dc488001a01d3c65fefc8002ac836 (diff)
bearer: simplify handling of the bearer configuration
The base MMBearer object will receive the MMBearerProperties configuration, which contains every generic and plugin-specific set up. Not every configuration parameter will be used by every implementation (e.g. not every bearer needs user/password). The Bearer object will expose every configuration parameter received in its `Properties' property in the interface, even if it's not really used.
Diffstat (limited to 'src/mm-bearer-list.c')
-rw-r--r--src/mm-bearer-list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mm-bearer-list.c b/src/mm-bearer-list.c
index 551279fe..3c672f89 100644
--- a/src/mm-bearer-list.c
+++ b/src/mm-bearer-list.c
@@ -170,7 +170,7 @@ mm_bearer_list_find (MMBearerList *self,
GList *l;
for (l = self->priv->bearers; l; l = g_list_next (l)) {
- if (mm_bearer_cmp_properties (MM_BEARER (l->data), properties))
+ if (mm_bearer_properties_cmp (mm_bearer_peek_config (MM_BEARER (l->data)), properties))
return g_object_ref (l->data);
}