From f098e73c0b80194d92d4cd03c40f15a359a4476b Mon Sep 17 00:00:00 2001 From: psimha Date: Wed, 6 Sep 2017 19:37:06 -0700 Subject: [PATCH] qcacmn: Disable servicing of uninitialized WBM2SW rings Set tx completion masks for WBM2SW1/2 to zero for MCL. This is to prevent accessing of tx completions rings whose contexts are shared with REO rings. Change-Id: Id1b8a98495668225ced71141f00d9f2094f37cd2 CRs-Fixed: 2106708 --- wlan_cfg/wlan_cfg.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wlan_cfg/wlan_cfg.c b/wlan_cfg/wlan_cfg.c index d9f40b8d9a..81a7d0ed7e 100644 --- a/wlan_cfg/wlan_cfg.c +++ b/wlan_cfg/wlan_cfg.c @@ -193,9 +193,9 @@ static const int tx_ring_mask[WLAN_CFG_INT_NUM_CONTEXTS] = { WLAN_CFG_TX_RING_MASK_0, 0, 0, - WLAN_CFG_TX_RING_MASK_1, - WLAN_CFG_TX_RING_MASK_2, - WLAN_CFG_TX_RING_MASK_3}; + 0, + 0, + 0}; static const int rx_ring_mask[WLAN_CFG_INT_NUM_CONTEXTS] = { 0,