wlan: Fix for register access in rx low resource timeout
This shall fix the reset when rx low resource timeout
occurs and rx thread access the register during
driver reload.
Change-Id: I6fab24b813195df9b490a26094ca6a1573647036
CRs-Fixed: 607780
diff --git a/CORE/DXE/src/wlan_qct_dxe.c b/CORE/DXE/src/wlan_qct_dxe.c
index 6156fc1..8bc0e2b 100644
--- a/CORE/DXE/src/wlan_qct_dxe.c
+++ b/CORE/DXE/src/wlan_qct_dxe.c
@@ -1888,9 +1888,17 @@
void *usrData
)
{
+ WLANDXE_CtrlBlkType *dxeCtxt = NULL;
+
+ dxeCtxt = (WLANDXE_CtrlBlkType *)usrData;
+
HDXE_MSG(eWLAN_MODULE_DAL_DATA, eWLAN_PAL_TRACE_LEVEL_FATAL,
"RX Low resource, Durign wait time period %d, RX resource not allocated",
T_WLANDXE_MAX_RX_PACKET_WAIT);
+
+ if(0 != dxeCtxt)
+ dxeCtxt->driverReloadInProcessing = eWLAN_PAL_TRUE;
+
wpalWlanReload();
if (NULL != usrData)