From a8ed32b5ed44064d5255e46957faed301300022a Mon Sep 17 00:00:00 2001 From: Chaoli Zhou Date: Fri, 22 Nov 2019 14:09:23 +0800 Subject: [PATCH] qcacld-3.0: Support coex parameter set to fw although chainmask set failure In the adapter start phase, if meet chainmask configure failure, and it should not block other parameters set to fw, like some coex parameters that still needed. Change-Id: I3c47ec233efc774e70205b27d2e0b5c6815bfe82 CRs-Fixed: 2572001 --- core/hdd/src/wlan_hdd_main.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index 6b207c326888..356e73cbe3d4 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -5195,8 +5195,7 @@ int hdd_set_fw_params(struct hdd_adapter *adapter) goto error; } - if (hdd_configure_chain_mask(adapter)) - goto error; + hdd_configure_chain_mask(adapter); } else { #define HDD_DTIM_1CHAIN_RX_ID 0x5 #define HDD_SMPS_PARAM_VALUE_S 29 @@ -5221,8 +5220,7 @@ int hdd_set_fw_params(struct hdd_adapter *adapter) #undef HDD_DTIM_1CHAIN_RX_ID #undef HDD_SMPS_PARAM_VALUE_S - if (hdd_configure_chain_mask(adapter)) - goto error; + hdd_configure_chain_mask(adapter); } ret = sme_set_enable_mem_deep_sleep(hdd_ctx->mac_handle,