diff options
| author | hqu <hqu@codeaurora.org> | 2020-04-07 22:14:44 +0800 |
|---|---|---|
| committer | hqu <hqu@codeaurora.org> | 2020-04-07 22:16:47 +0800 |
| commit | f60f19cbe7599f6ef17c2b880f42bdcd8d13ea98 (patch) | |
| tree | c9b7054670ea63df30019897926c2e1feb96f19c | |
| parent | 3d2b85146ffa5363bd5d89e881feffb0b628c85e (diff) | |
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
| -rw-r--r-- | core/mac/src/pe/lim/lim_send_sme_rsp_messages.c | 8 |
1 files changed, 2 insertions, 6 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 7958083003ea..6f080d8adafd 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 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012-2019 The Linux Foundation. All rights reserved. + * Copyright (c) 2012-2020 The Linux Foundation. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the @@ -916,11 +916,7 @@ lim_send_sme_disassoc_ntf(tpAniSirGlobal pMac, break; } } - if (sta_ds -#ifdef WLAN_FEATURE_11W - && (!sta_ds->rmfEnabled) -#endif - ) { + if (sta_ds) { if (lim_add_sta(pMac, sta_ds, false, session) != eSIR_SUCCESS) pe_err("could not Add STA with assocId: %d", |
