From 2fa866e49d70c132bb27505efc6be3ac90ba94fb Mon Sep 17 00:00:00 2001 From: Jianmin Zhu Date: Tue, 24 Mar 2020 13:22:42 +0800 Subject: [PATCH] qcacld-3.0: Assert for PMF peer isn't added to data path During assoc of new peer on vdev 0 as vdev 1 has the same entry, peer is removed from vdev 1 with trigger reason eLIM_DUPLICATE_ENTRY. Once the peer deleted, it is added in firmware and datapath on the new vdev 0.The add logic checks if peer is non PMF, but here peer is PMF, then the peer is not added to datapath and firmware. Assert will happen when deleting it as entry is present in LIM but not in data path. Fix: On deletion of peer on other vdev1, if peer is added in lim on new vdev 0, add it in datapath and firmware even if it's PMF peer. Change-Id: I00241ae3886ae7541a68c4bc69b616dfe96948e5 CRs-Fixed: 2646623 --- core/mac/src/pe/lim/lim_send_sme_rsp_messages.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/core/mac/src/pe/lim/lim_send_sme_rsp_messages.c b/core/mac/src/pe/lim/lim_send_sme_rsp_messages.c index 57b4c8a1d8ff..7549c25aa53f 100644 --- a/core/mac/src/pe/lim/lim_send_sme_rsp_messages.c +++ b/core/mac/src/pe/lim/lim_send_sme_rsp_messages.c @@ -668,11 +668,7 @@ void lim_send_sme_disassoc_ntf(struct mac_context *mac, break; } } - if (sta_ds -#ifdef WLAN_FEATURE_11W - && (!sta_ds->rmfEnabled) -#endif - ) { + if (sta_ds) { if (lim_add_sta(mac, sta_ds, false, session) != QDF_STATUS_SUCCESS) pe_err("could not Add STA with assocId: %d",