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
Dieser Commit ist enthalten in:
Debasis Das
2018-12-21 15:23:04 +05:30
committet von nshrivas
Ursprung ea9c2de208
Commit a5e316fb7e

Datei anzeigen

@@ -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[] = {