summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Liu <kaliu@codeaurora.org>2016-09-29 00:08:55 +0800
committerqcabuildsw <qcabuildsw@localhost>2016-10-26 15:41:59 -0700
commitffd2bb7166ff7bf8cb677872e1092932c43a5c9b (patch)
treebeef1a1846b4d6b4a2e3f663696c20eeb818e56d
parent27f2037fa655e838478a6e5b14b46b2038815a03 (diff)
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
-rw-r--r--core/mac/src/pe/lim/lim_assoc_utils.c1
1 files changed, 1 insertions, 0 deletions
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);
}