summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandeep Puligilla <spuligil@codeaurora.org>2020-12-08 21:50:04 -0800
committerchenpaul <chenpaul@google.com>2021-02-03 14:54:22 +0800
commit5e5202d45048419a6a70f6a83bddd59f5049b84c (patch)
treeee6210d88cc692215ea55196228e1e6ccb4879cd
parente9d2d558d46815e2fd9ec335b27f56c0d7329c42 (diff)
downloadqcacld-5e5202d45048419a6a70f6a83bddd59f5049b84c.tar.gz
qcacld-3.0: Duplicate peer create command
Host sent peer create command to firmware before the previous peer delete response is received for the same client. In failure scenario, lim is not waiting for the peer delete response and removing the sta ds entry from the session. If new association request is received from same client then host is trying to send peer create command to firmware. Change-Id: I63fa2b3290ffc0592d2c8c12ff3a144e513dc5f2 CRs-Fixed: 2829911 Bug: 177955534 Signed-off-by: Srinivas Girigowda <quic_sgirigow@quicinc.com>
-rw-r--r--core/mac/src/pe/lim/lim_assoc_utils.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/mac/src/pe/lim/lim_assoc_utils.c b/core/mac/src/pe/lim/lim_assoc_utils.c
index 95c3e55be4..1323592060 100644
--- a/core/mac/src/pe/lim/lim_assoc_utils.c
+++ b/core/mac/src/pe/lim/lim_assoc_utils.c
@@ -583,9 +583,8 @@ 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);
+ lim_del_sta(pMac, pStaDs, true, psessionEntry);
+ return retCode;
}
lim_delete_dph_hash_entry(pMac, pStaDs->staAddr,
pStaDs->assocId, psessionEntry);