wlan: Fix for VOS_ASSERT while starting heartbeat timer in IBSS mode
limActivateHearBeatTimer() function does not handle active mode offload
grecefully that causes the caller of this function to panic. TX_SUCCESS
should be returned if we are not doing anything in this function. Instead
it is returning error code, which causes VOS_ASSERT in the caller.
Change-Id: I1547be7c42b8a79ed25b69f62310a7f05d451d25
CRs-Fixed: 531195
diff --git a/CORE/MAC/src/pe/lim/limTimerUtils.c b/CORE/MAC/src/pe/lim/limTimerUtils.c
index 9b7e5e9..52db4d1 100644
--- a/CORE/MAC/src/pe/lim/limTimerUtils.c
+++ b/CORE/MAC/src/pe/lim/limTimerUtils.c
@@ -1955,7 +1955,7 @@
#ifdef WLAN_ACTIVEMODE_OFFLOAD_FEATURE
if(IS_ACTIVEMODE_OFFLOAD_FEATURE_ENABLE)
- return (status);
+ return (TX_SUCCESS);
#endif
if(TX_AIRGO_TMR_SIGNATURE == pMac->lim.limTimers.gLimHeartBeatTimer.tmrSignature)