diff options
author | Sandeep Puligilla <spuligil@codeaurora.org> | 2020-12-08 21:50:04 -0800 |
---|---|---|
committer | Victor Hsu <hsuvictor@google.com> | 2021-02-05 15:54:43 +0800 |
commit | bde8eaeb4ae1d645ca7fcb3c4528d30a64097cc2 (patch) | |
tree | 0c5d30a2d850a580beb0f800b7976064701dc1ee | |
parent | 501b75f63bf91d5732a1dbf0d29c5c8663fe4c7b (diff) | |
download | qcacld-bde8eaeb4ae1d645ca7fcb3c4528d30a64097cc2.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.
Bug: 177955534
Change-Id: I63fa2b3290ffc0592d2c8c12ff3a144e513dc5f2
CRs-Fixed: 2829911
Signed-off-by: Hsiu-Chang Chen <hsiuchangchen@google.com>
-rw-r--r-- | core/mac/src/pe/lim/lim_assoc_utils.c | 5 |
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 37c88e38ab..02ffbe1fee 100644 --- a/core/mac/src/pe/lim/lim_assoc_utils.c +++ b/core/mac/src/pe/lim/lim_assoc_utils.c @@ -618,9 +618,8 @@ lim_cleanup_rx_path(struct mac_context *mac, tpDphHashNode sta, * Release our assigned AID back to the free pool */ if (LIM_IS_AP_ROLE(pe_session)) { - lim_del_sta(mac, sta, false, pe_session); - lim_release_peer_idx(mac, sta->assocId, - pe_session); + lim_del_sta(mac, sta, true, pe_session); + return retCode; } lim_delete_dph_hash_entry(mac, sta->staAddr, sta->assocId, pe_session); |