diff options
| author | Sandeep Puligilla <spuligil@codeaurora.org> | 2016-07-22 20:02:02 -0700 |
|---|---|---|
| committer | Vishwajith Upendra <vishwaji@codeaurora.org> | 2016-07-26 22:33:46 -0700 |
| commit | 2eeaf6af919e3bbc041df2d8844b2d2d4d3191c6 (patch) | |
| tree | ab8bd15410896759db837f6d62cafe9b101ba46b | |
| parent | 4b00d988ca6a076767184a3cc135a01b63a986dd (diff) | |
qcacld-3.0: Remove duplicate entry of the STA
In AP+AP scenario, duplicate STA entry triggers assert at
firmware during the create peer.
Remove the stale entry of the sta before adding
a new entry in session.
Change-Id: I9837160b42f72aa53872a0c2814058c0576289d4
CRs-Fixed: 1043189
| -rw-r--r-- | core/mac/src/pe/lim/lim_process_assoc_req_frame.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/core/mac/src/pe/lim/lim_process_assoc_req_frame.c b/core/mac/src/pe/lim/lim_process_assoc_req_frame.c index 3df3481d79e5..2aebb6f39e4c 100644 --- a/core/mac/src/pe/lim/lim_process_assoc_req_frame.c +++ b/core/mac/src/pe/lim/lim_process_assoc_req_frame.c @@ -165,14 +165,18 @@ void lim_check_sta_in_pe_entries(tpAniSirGlobal mac_ctx, tpSirMacMgmtHdr hdr) #endif ) { lim_log(mac_ctx, LOGE, - FL("Sending Deauth and Deleting existing STA entry: " + FL("Sending Disassoc and Deleting existing STA entry: " MAC_ADDRESS_STR), MAC_ADDR_ARRAY(session->selfMacAddr)); - lim_send_deauth_mgmt_frame(mac_ctx, + lim_send_disassoc_mgmt_frame(mac_ctx, eSIR_MAC_UNSPEC_FAILURE_REASON, (uint8_t *) hdr->sa, session, false); - lim_trigger_sta_deletion(mac_ctx, sta_ds, - session); + /* + * Cleanup Rx path posts eWNI_SME_DISASSOC_RSP + * msg to SME after delete sta which will update + * the userspace with disconnect + */ + lim_cleanup_rx_path(mac_ctx, sta_ds, session); break; } } |
