summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhu Jianmin <jianminz@codeaurora.org>2018-03-08 09:54:02 +0800
committerGerrit - the friendly Code Review server <code-review@localhost>2018-03-10 05:53:50 -0800
commite7133bec280bb095adfa8b94b8ca982255ffb2e8 (patch)
tree54e6fc944a75d4e816c442ced6ec058846378a67
parent2774d15d006264a88aa61211d3e529cd011673cf (diff)
qcacld-3.0: Fix ifconfig wlan0 up failed on Rome
Rome doesn't support DBS, doesn't support cmd and wmi service WMI_PDEV_SET_MAC_CONFIG_CMDID. so no response event for the cmd, the cmd can't be removed from active list. so next cmd: WMA_ADD_STA_SELF_REQ can't be executed at all, no complete event for sme_open_session, hdd_init_station_mode failed Change-Id: Iec2ef7e77e91f332028904c319d24e1ed134306d CRs-Fixed: 2202262
-rw-r--r--core/hdd/src/wlan_hdd_main.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c
index 03deb64f3419..eb94fabec634 100644
--- a/core/hdd/src/wlan_hdd_main.c
+++ b/core/hdd/src/wlan_hdd_main.c
@@ -8170,15 +8170,14 @@ wlan_hdd_update_dbs_scan_and_fw_mode_config(hdd_context_t *hdd_ctx)
hdd_err("HDD context is NULL");
return QDF_STATUS_E_FAILURE;
}
+ if (!wma_is_hw_dbs_capable())
+ return QDF_STATUS_SUCCESS;
cfg.scan_config = 0;
cfg.fw_mode_config = 0;
cfg.set_dual_mac_cb = cds_soc_set_dual_mac_cfg_cb;
- if (!wma_is_dbs_enable())
- channel_select_logic_conc = 0;
- else
- channel_select_logic_conc = hdd_ctx->config->
+ channel_select_logic_conc = hdd_ctx->config->
channel_select_logic_conc;
if (hdd_ctx->config->dual_mac_feature_disable !=