aboutsummaryrefslogtreecommitdiff
path: root/src/mm-iface-modem-simple.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2015-12-03 12:00:22 +0100
committerAleksander Morgado <aleksander@aleksander.es>2015-12-03 12:00:22 +0100
commitea3cb005b8e276178187654bd1aadbe8b33abf63 (patch)
tree185dedf4e518bdf24da94464e6b32e3937179393 /src/mm-iface-modem-simple.c
parent75c23479902fd63a9b3bd81e25598ac8c6f22c2a (diff)
bearer-list: rename bearer find method to specify properties are compared
Diffstat (limited to 'src/mm-iface-modem-simple.c')
-rw-r--r--src/mm-iface-modem-simple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mm-iface-modem-simple.c b/src/mm-iface-modem-simple.c
index ec1825e5..6dab1d7d 100644
--- a/src/mm-iface-modem-simple.c
+++ b/src/mm-iface-modem-simple.c
@@ -516,7 +516,7 @@ connection_step (ConnectionContext *ctx)
bearer_properties = mm_simple_connect_properties_get_bearer_properties (ctx->properties);
/* Check if the bearer we want to create is already in the list */
- ctx->bearer = mm_bearer_list_find (list, bearer_properties);
+ ctx->bearer = mm_bearer_list_find_by_properties (list, bearer_properties);
if (!ctx->bearer) {
mm_dbg ("Creating new bearer...");
/* If we don't have enough space to create the bearer, try to remove