summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJussi Kukkonen <jussi.kukkonen@intel.com>2012-03-01 16:13:43 +0200
committerDaniel Wagner <daniel.wagner@bmw-carit.de>2012-03-05 16:32:18 +0100
commit21ca0158deb5ed000b3622669f38590a0f7a56c8 (patch)
tree99050a72b9782cefdc16802b6de7feca7b1b2d0b
parent842eb0b8d703fdf30829af25818b48ee995abbc1 (diff)
downloadconnman-21ca0158deb5ed000b3622669f38590a0f7a56c8.tar.gz
connman-21ca0158deb5ed000b3622669f38590a0f7a56c8.tar.bz2
connman-21ca0158deb5ed000b3622669f38590a0f7a56c8.zip
ofono: fix modem lookup in cm_context_added()
-rw-r--r--plugins/ofono.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ofono.c b/plugins/ofono.c
index 4cac50d6..8b8dcb0f 100644
--- a/plugins/ofono.c
+++ b/plugins/ofono.c
@@ -1280,7 +1280,7 @@ static gboolean cm_context_added(DBusConnection *connection,
DBG("%s", path);
- modem = g_hash_table_lookup(modem_hash, context_path);
+ modem = g_hash_table_lookup(modem_hash, path);
if (modem == NULL)
return TRUE;