summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/hdd/src/wlan_hdd_main.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c
index 19d3a82cc481..2e8a45aeed05 100644
--- a/core/hdd/src/wlan_hdd_main.c
+++ b/core/hdd/src/wlan_hdd_main.c
@@ -3724,6 +3724,11 @@ static int hdd_configure_chain_mask(hdd_adapter_t *adapter)
return 0;
}
+ if (hdd_ctx->lte_coex_ant_share) {
+ hdd_info("lte ant sharing enabled. skip chainmask programming");
+ return 0;
+ }
+
if (hdd_ctx->config->txchainmask1x1) {
ret_val = sme_cli_set_command(adapter->sessionId,
WMI_PDEV_PARAM_TX_CHAIN_MASK,
@@ -3742,11 +3747,6 @@ static int hdd_configure_chain_mask(hdd_adapter_t *adapter)
goto error;
}
- if (hdd_ctx->lte_coex_ant_share) {
- hdd_info("lte ant sharing enabled. skip per band chain mask");
- return 0;
- }
-
if (hdd_ctx->config->txchainmask1x1 ||
hdd_ctx->config->rxchainmask1x1) {
hdd_info("band agnostic tx/rx chain mask set. skip per band chain mask");