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
This commit is contained in:
Sandeep Puligilla
2020-12-08 21:50:04 -08:00
committed by snandini
parent c9364b98d6
commit 4acb775140

View File

@@ -441,9 +441,8 @@ lim_cleanup_rx_path(struct mac_context *mac, tpDphHashNode sta,
* Release our assigned AID back to the free pool * Release our assigned AID back to the free pool
*/ */
if (LIM_IS_AP_ROLE(pe_session)) { if (LIM_IS_AP_ROLE(pe_session)) {
lim_del_sta(mac, sta, false, pe_session); lim_del_sta(mac, sta, true, pe_session);
lim_release_peer_idx(mac, sta->assocId, return retCode;
pe_session);
} }
lim_delete_dph_hash_entry(mac, sta->staAddr, lim_delete_dph_hash_entry(mac, sta->staAddr,
sta->assocId, pe_session); sta->assocId, pe_session);