summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSachin Ahuja <sahuja@qti.qualcomm.com>2016-05-03 13:07:38 +0530
committerAnjaneedevi Kapparapu <akappa@codeaurora.org>2016-05-24 15:44:10 +0530
commit6bdc116d3f37eca89b8c2c6b318955eaf024e0ac (patch)
tree3399b9ccc364ea726dff03b24beafa7f3bff428f
parent1ac50e018ee74feaddf578ee63b4c73658014eaa (diff)
qcacld-2.0: Pass the correct userData in wpalTimerCback
prima to qcacld-2.0 propagation During Reinit, driver sends the FW download request and if request is timed out then the timercallback is executed in WD thread. Currently userdata is passed as NULL if timercallback is executed in WD thread. Update code to pass the correct userdata in timer callback when it is called in WD thread context. Change-Id: I10a9cf8c53ded7d9db4bff0761f7b86a9021011a CRs-Fixed: 961502
-rw-r--r--CORE/VOSS/src/vos_timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/CORE/VOSS/src/vos_timer.c b/CORE/VOSS/src/vos_timer.c
index 6c318aff5413..f0e28a05af0e 100644
--- a/CORE/VOSS/src/vos_timer.c
+++ b/CORE/VOSS/src/vos_timer.c
@@ -189,7 +189,7 @@ static void vos_linux_timer_callback (unsigned long data)
if (vos_is_wd_thread(threadId)) {
VOS_TRACE(VOS_MODULE_ID_VOSS, VOS_TRACE_LEVEL_INFO,
"TIMER callback: running on wd thread");
- callback(NULL);
+ callback(userData);
return;
}