diff options
author | Nishant Chaprana <n.chaprana@samsung.com> | 2020-10-14 13:59:23 +0530 |
---|---|---|
committer | Nishant Chaprana <n.chaprana@samsung.com> | 2020-10-14 13:59:56 +0530 |
commit | dd3cccc5e67548dcc2dd6c6254ed6c97859085d5 (patch) | |
tree | 0444cde148e68a44c4295219e4c6625dbe52339d /src/agent.c | |
parent | 6b2381a2adabea7d8309ff158ef675ff88184305 (diff) | |
download | connman-dd3cccc5e67548dcc2dd6c6254ed6c97859085d5.tar.gz connman-dd3cccc5e67548dcc2dd6c6254ed6c97859085d5.tar.bz2 connman-dd3cccc5e67548dcc2dd6c6254ed6c97859085d5.zip |
Imported Upstream version 1.38upstream/1.38
Change-Id: I7cada2367329445e1d200055e21d96e7e9c05047
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Diffstat (limited to 'src/agent.c')
-rw-r--r-- | src/agent.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/agent.c b/src/agent.c index 8f7b19ba..d6113af7 100644 --- a/src/agent.c +++ b/src/agent.c @@ -238,12 +238,12 @@ int connman_agent_queue_message(void *user_context, driver = get_driver(); DBG("driver %p", driver); - if (driver && driver->context_ref) { + if (driver && driver->context_ref) queue_data->user_context = driver->context_ref(user_context); - queue_data->driver = driver; - } else + else queue_data->user_context = user_context; + queue_data->driver = driver; queue_data->msg = dbus_message_ref(msg); queue_data->timeout = timeout; queue_data->callback = callback; |