From 54a3d52e88c3373c2cda2857401945bb32c149a8 Mon Sep 17 00:00:00 2001 From: Govind Singh Date: Tue, 25 Jul 2017 15:38:00 +0530 Subject: [PATCH] ath10k: Fix dst CE ring configuration for CE5 CE5 ring is not used in current configuration for WCN3990 chipset. Set the entries to zero to avoid unnecessary allocation during driver load. CRs-Fixed: 2082022 Change-Id: I992f0fb3b5c2bc6d6fd067bb23e67b23a12ffdb7 Signed-off-by: Govind Singh --- drivers/net/wireless/ath/ath10k/snoc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/snoc.c b/drivers/net/wireless/ath/ath10k/snoc.c index 9406b6f71a6b..75e81991913a 100644 --- a/drivers/net/wireless/ath/ath10k/snoc.c +++ b/drivers/net/wireless/ath/ath10k/snoc.c @@ -107,8 +107,8 @@ static struct ce_attr host_ce_config_wlan[] = { { .flags = CE_ATTR_FLAGS, .src_nentries = 0, - .src_sz_max = 512, - .dest_nentries = 512, + .src_sz_max = 0, + .dest_nentries = 0, .recv_cb = ath10k_snoc_htt_rx_cb, },