Browse Source

qcacld-3.0: Fix the 6G security check config setting

Enable the 6G security check config setting in reset defaults.

Change-Id: I514754a965204c3d27bfdd5ca6dc5e07e95bdd7f
CRs-Fixed: 2985397
Kiran Kumar Lokere 3 years ago
parent
commit
e922d3148f
1 changed files with 1 additions and 2 deletions
  1. 1 2
      core/sme/src/common/sme_api.c

+ 1 - 2
core/sme/src/common/sme_api.c

@@ -14729,7 +14729,6 @@ void sme_set_he_testbed_def(mac_handle_t mac_handle, uint8_t vdev_id)
 	mac_ctx->mlme_cfg->he_caps.dot11_he_cap.rx_pream_puncturing = 0;
 	csr_update_session_he_cap(mac_ctx, session);
 
-	wlan_cm_set_check_6ghz_security(mac_ctx->psoc, true);
 	status = ucfg_mlme_set_enable_bcast_probe_rsp(mac_ctx->psoc, false);
 	if (QDF_IS_STATUS_ERROR(status))
 		sme_err("Failed not set enable bcast probe resp info, %d",
@@ -14763,7 +14762,7 @@ void sme_reset_he_caps(mac_handle_t mac_handle, uint8_t vdev_id)
 		mac_ctx->mlme_cfg->he_caps.he_cap_orig;
 	csr_update_session_he_cap(mac_ctx, session);
 
-	wlan_cm_reset_check_6ghz_security(mac_ctx->psoc);
+	wlan_cm_set_check_6ghz_security(mac_ctx->psoc, true);
 	status = ucfg_mlme_set_enable_bcast_probe_rsp(mac_ctx->psoc, true);
 	if (QDF_IS_STATUS_ERROR(status))
 		sme_err("Failed not set enable bcast probe resp info, %d",