diff options
| author | Naveen Rawat <naveenrawat@codeaurora.org> | 2018-02-08 15:23:24 -0800 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-02-09 11:00:52 -0800 |
| commit | 8799542b3cd69a8eb9cc5c5faafc44bfabe793ef (patch) | |
| tree | 9ef9b8d1af56badf3aafdf120b2d900c1af1f850 | |
| parent | 21f00ade86705bbe56626b6c3a61f77566b571fd (diff) | |
qcacld-3.0: Skip chainmask programming if antenna sharing enabled
Skip chainmask programming if antenna sharing enabled.
Change-Id: If4c765ed35b249b8a08660557a20bec2c77579f7
CRs-Fixed: 2186904
| -rw-r--r-- | core/hdd/src/wlan_hdd_main.c | 10 |
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"); |
