From ffd2bb7166ff7bf8cb677872e1092932c43a5c9b Mon Sep 17 00:00:00 2001 From: Kai Liu Date: Thu, 29 Sep 2016 00:08:55 +0800 Subject: qcacld-3.0: WMA has to del sta if auth frame is received while connecting qcacld-2.0 to qcacld-3.0 propagation It's a fix for sns issue. Set DUT as sap, ref client sends assoc req to DUT and as part of this frame processing lim does ADD_STA and posts eWNI_SME_ASSOC_IND to sme layer. Before SME layer sends eWNI_SME_ASSOC_CNF, DUT receives auth frame which triggers deauth. In this case lim layer will delete ref client's related info, but wma layer doesn't get any notification. To fix this lim has to notify wma to do DEL_STA for that peer. Change-Id: Id4aae51aae3fb68e752d09793ad3bce17665fc2e CRs-Fixed: 979687 --- core/mac/src/pe/lim/lim_assoc_utils.c | 1 + 1 file changed, 1 insertion(+) diff --git a/core/mac/src/pe/lim/lim_assoc_utils.c b/core/mac/src/pe/lim/lim_assoc_utils.c index 266f9afcf607..b16c83e4e82b 100644 --- a/core/mac/src/pe/lim/lim_assoc_utils.c +++ b/core/mac/src/pe/lim/lim_assoc_utils.c @@ -585,6 +585,7 @@ lim_cleanup_rx_path(tpAniSirGlobal pMac, tpDphHashNode pStaDs, * Release our assigned AID back to the free pool */ if (LIM_IS_AP_ROLE(psessionEntry)) { + lim_del_sta(pMac, pStaDs, false, psessionEntry); lim_release_peer_idx(pMac, pStaDs->assocId, psessionEntry); } -- cgit v1.2.3