Browse Source

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
Jianmin Zhu 5 years ago
parent
commit
2fa866e49d
1 changed files with 1 additions and 5 deletions
  1. 1 5
      core/mac/src/pe/lim/lim_send_sme_rsp_messages.c

+ 1 - 5
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",