diff options
| author | Krunal Soni <ksoni@codeaurora.org> | 2016-09-21 14:45:26 -0700 |
|---|---|---|
| committer | qcabuildsw <qcabuildsw@localhost> | 2016-09-23 01:22:50 -0700 |
| commit | edb38f950f2a18bb548c8d9ad87fdee74aca76e5 (patch) | |
| tree | ec22a9df47e70782f5e1c1ebc516bc9748c8cc28 /core | |
| parent | 17159c5cb80f155a599762938c483c0153d01310 (diff) | |
qcacld-3.0: Disable all dual mac features when DBS is disabled from INI
Current driver doesn't send WMI command to notify firmware to disable
all dual mac features when DBS is disabled from INI.
Disable dual mac features including all scan policies when DBS is
disabled from INI.
Change-Id: Id452c1de795dbeb7dc897a71e1578731d9dad2f9
CRs-Fixed: 1069650
Diffstat (limited to 'core')
| -rw-r--r-- | core/hdd/src/wlan_hdd_main.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index 7c04a55357c3..1262361bd4e9 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -6042,9 +6042,6 @@ static QDF_STATUS wlan_hdd_disable_all_dual_mac_features(hdd_context_t *hdd_ctx) return QDF_STATUS_E_FAILURE; } - if (hdd_ctx->config->dual_mac_feature_disable) - 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; @@ -7331,14 +7328,6 @@ static int hdd_features_init(hdd_context_t *hdd_ctx, hdd_adapter_t *adapter) hdd_tsf_init(hdd_ctx); - if (hdd_ctx->config->dual_mac_feature_disable) { - status = wlan_hdd_disable_all_dual_mac_features(hdd_ctx); - if (status != QDF_STATUS_SUCCESS) { - hdd_err("Failed to disable dual mac features"); - goto deregister_frames; - } - } - ret = hdd_register_cb(hdd_ctx); if (ret) { hdd_err("Failed to register HDD callbacks!"); |
