Browse Source

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
gaolez 8 năm trước cách đây
mục cha
commit
3b07a2cdbd
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      core/mac/src/pe/lim/lim_process_sme_req_messages.c

+ 1 - 1
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)