Explorar o código

qcacmn: Fix array out-of-bounds in target CE config array

The CE11 in target CE config array is used, but not allocated.
Fix this by allocating memory for CE11 in the global structure.

Change-Id: I85088f5a832aec037a1e46eed4b72ac4228fde44
CRs-Fixed: 2365435
Debasis Das %!s(int64=6) %!d(string=hai) anos
pai
achega
a5e316fb7e
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      hif/src/ce/ce_assignment.h

+ 1 - 0
hif/src/ce/ce_assignment.h

@@ -678,6 +678,7 @@ static struct CE_pipe_config target_ce_config_wlan_qca8074[] = {
 	{ /* CE9 */ 9, PIPEDIR_OUT,  32, 2048, 8192, 0,},
 	/* CE10 target->host HTT */
 	{ /* CE10 */ 10, PIPEDIR_INOUT_H2H,  0, 0, 0, 0,},
+	{/* CE11 unused */11, PIPEDIR_NONE, 0, 0, 0, 0,},
 };
 
 static struct CE_attr host_ce_config_wlan_qca8074_pci[] = {