qcacld-3.0: Add ENABLE_DBS_CXN_AND_DISABLE_DBS_SCAN
Added ENABLE_DBS_CXN_AND_DISABLE_DBS_SCAN option for the ini
gDualMacFeatureDisable. To enable dbs support for the
connection and disable dbs support for the scan.
Change-Id: I05c613467195fffac98e79b7e4a2991471ac1d80
CRs-Fixed: 2202919
diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c
index 5ee98ac..4eef308 100644
--- a/core/hdd/src/wlan_hdd_main.c
+++ b/core/hdd/src/wlan_hdd_main.c
@@ -9780,8 +9780,10 @@
* CDS_DBS_SCAN_CLIENTS_MAX];
/* check if DBS is enabled or supported */
- if (hdd_ctx->config->dual_mac_feature_disable ==
- DISABLE_DBS_CXN_AND_SCAN)
+ if ((hdd_ctx->config->dual_mac_feature_disable ==
+ DISABLE_DBS_CXN_AND_SCAN) ||
+ (hdd_ctx->config->dual_mac_feature_disable ==
+ ENABLE_DBS_CXN_AND_DISABLE_DBS_SCAN))
return -EINVAL;
hdd_string_to_u8_array(hdd_ctx->config->dbs_scan_selection,