wlan: Fix RX thread stuck in while loop

Currently during roaming for LFR make before break feature under
stress testing RX thread is stuck in while loop resulting in host
RX low resource and firmware watch dog bite. In this change refactor
the code to check for null termination of the received frames rather
than checking for the local variable pointer assigned to the input
received frames.

Change-Id: I47b40566d52134b58304541c708cd87263fabfc6
CRs-Fixed: 2009414
This commit is contained in:
Sravan Kumar Kairam 2017-02-21 11:59:13 +05:30 committed by Nolen Johnson
parent 3c95567b07
commit 0a25b3c7c0

View file

@ -5668,7 +5668,7 @@ WLANTL_RxCachedFrames
---------------------------------------------------------------------*/
vosTempBuff = vosDataBuff;
while ( NULL != vosTempBuff )
while (NULL != vosDataBuff)
{
broadcast = VOS_FALSE;
selfBcastLoopback = VOS_FALSE;