qcacld-3.0: Avoid switch channel during preauth

qcacld-2.0 to qcacld-3.0 propagation

Currently data tx is suspended and later checked for preauth
in limProcessChannelSwitchTimeout. This can result in a condition
that data tx to be always in suspend case if roaming triggers at
the same time.

Fix is to add a check for preauth during channel switch.

Change-Id: I0ac3d63a5db000beed7de34b13e5926c7dc3ce48
CRs-Fixed: 2035031
This commit is contained in:
Padma, Santhosh Kumar 2017-04-17 15:19:30 +05:30 • committed by snandini
commit 9397bc1c24

View file

@ -88,6 +88,11 @@ void lim_stop_tx_and_switch_channel(tpAniSirGlobal pMac, uint8_t sessionId)
return;
}
if (psessionEntry->ftPEContext.pFTPreAuthReq) {
pe_debug("Avoid Switch Channel req during pre auth");
return;
}
pe_debug("Channel switch Mode: %d",
psessionEntry->gLimChannelSwitch.switchMode);