summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVignesh Viswanathan <viswanat@codeaurora.org>2017-09-28 12:56:04 +0530
committersnandini <snandini@codeaurora.org>2017-09-28 05:52:08 -0700
commitfe53c3c3eb30615e4e846a4a470889beb118e423 (patch)
treeacce4b35b6b9d5a9a1d55b1e08236c3c91d79d3a
parent1f1c640b0025ab07faf49a560a6951dd4dbb9f3c (diff)
qcacld-3.0: Enable Broadcast Probe Response support only if FILS is enabled
Currenly Broadcast Probe Response ini g_enable_bcast_probe_rsp is set to enabled even of g_is_fils_enabled ini is set to disabled. This makes the FILS IE to be included in the probe request and this causes interoperabilty issues. Enable g_enable_bcast_probe_rsp only if g_is_fils_enabled is set to 1 Change-Id: I01b38d145ed9269989a5f19b6df66e039dcc5845 CRs-Fixed: 2118235
-rw-r--r--core/hdd/inc/wlan_hdd_cfg.h5
-rw-r--r--core/hdd/src/wlan_hdd_cfg.c3
2 files changed, 5 insertions, 3 deletions
diff --git a/core/hdd/inc/wlan_hdd_cfg.h b/core/hdd/inc/wlan_hdd_cfg.h
index 38b4d937f9a5..c09b94be9f62 100644
--- a/core/hdd/inc/wlan_hdd_cfg.h
+++ b/core/hdd/inc/wlan_hdd_cfg.h
@@ -10888,9 +10888,10 @@ enum hw_filter_mode {
* @Max: 1
* @Default: 1
*
- * This ini is used to enable/disable broadcast probe response
+ * This ini is used to enable/disable broadcast probe response.
+ * This is set only if g_is_fils_enabled is set to 1
*
- * Related: None
+ * Related: g_is_fils_enabled
*
* Supported Feature: FILS
*
diff --git a/core/hdd/src/wlan_hdd_cfg.c b/core/hdd/src/wlan_hdd_cfg.c
index 452993594fb0..4ed91ff46e03 100644
--- a/core/hdd/src/wlan_hdd_cfg.c
+++ b/core/hdd/src/wlan_hdd_cfg.c
@@ -8686,7 +8686,8 @@ QDF_STATUS hdd_set_sme_config(hdd_context_t *pHddCtx)
pHddCtx->config->tx_aggregation_size;
smeConfig->csrConfig.rx_aggregation_size =
pHddCtx->config->rx_aggregation_size;
- smeConfig->csrConfig.enable_bcast_probe_rsp =
+ if (pHddCtx->config->is_fils_enabled)
+ smeConfig->csrConfig.enable_bcast_probe_rsp =
pHddCtx->config->enable_bcast_probe_rsp;
smeConfig->csrConfig.qcn_ie_support =
pHddCtx->config->qcn_ie_support;