From 3b07a2cdbd7e097ec5f686f0288d257b97093311 Mon Sep 17 00:00:00 2001 From: gaolez Date: Wed, 22 Mar 2017 12:59:17 +0800 Subject: [PATCH] qcacld-3.0: Fix SAP omit send action frame issue qcacld-2.0 to qcacld-3.0 propagation Checking every node in STA hash table when sending action frame. When sending action frame, the driver will loop through the STA info hash table to find all the STA need to recv unicast action frame. The STA info stored in hash table from the second node to the last, the first node is empty. But the current loop through policy lost the last node, so change the loop count to fix this issue. Change-Id: I323d7af5ea0871677ebf8bebe88eaff072efdac8 CRs-Fixed: 1098738 --- core/mac/src/pe/lim/lim_process_sme_req_messages.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/mac/src/pe/lim/lim_process_sme_req_messages.c b/core/mac/src/pe/lim/lim_process_sme_req_messages.c index 329a9c6cfae5..e9d23e1297fb 100644 --- a/core/mac/src/pe/lim/lim_process_sme_req_messages.c +++ b/core/mac/src/pe/lim/lim_process_sme_req_messages.c @@ -5823,7 +5823,7 @@ static void send_extended_chan_switch_action_frame(tpAniSirGlobal mac_ctx, switch_mode = 1; if (LIM_IS_AP_ROLE(session_entry)) { - for (i = 0; i < mac_ctx->lim.maxStation; i++) { + for (i = 0; i <= mac_ctx->lim.maxStation; i++) { psta = session_entry->dph.dphHashTable.pDphNodeArray + i; if (psta && psta->added)