Prechádzať zdrojové kódy

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
Chaoli Zhou 5 rokov pred
rodič
commit
a8ed32b5ed
1 zmenil súbory, kde vykonal 2 pridanie a 4 odobranie
  1. 2 4
      core/hdd/src/wlan_hdd_main.c

+ 2 - 4
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,