Browse Source

qcacmn: Set hidden ssid flag in vdev restart for SAP CSA scenario

SAP configured in hidden ssid mode sends probe response to
BC probe requests after force SCC. In send_vdev_start_cmd_tlv,
triggered as part of set_channel on SAP interface, host does not
set the hidden_ssid flag in vdev_restart scenario which results
in the aforementioned behavior.

Fix is to set the hidden ssid flag in vdev_restart scenario
as well for channel switch on SAP interface.

Change-Id: I6c8126f6df05b8794a89690a6fe320be1f02c356
CRs-Fixed: 2442872
Yeshwanth Sriram Guntuka 6 years ago
parent
commit
bc70137f9e
1 changed files with 3 additions and 3 deletions
  1. 3 3
      wmi/src/wmi_unified_tlv.c

+ 3 - 3
wmi/src/wmi_unified_tlv.c

@@ -511,13 +511,13 @@ static QDF_STATUS send_vdev_start_cmd_tlv(wmi_unified_t wmi_handle,
 				     cmd->ssid.ssid_len);
 		}
 
-		if (req->hidden_ssid)
-			cmd->flags |= WMI_UNIFIED_VDEV_START_HIDDEN_SSID;
-
 		if (req->pmf_enabled)
 			cmd->flags |= WMI_UNIFIED_VDEV_START_PMF_ENABLED;
 	}
 
+	if (req->hidden_ssid)
+		cmd->flags |= WMI_UNIFIED_VDEV_START_HIDDEN_SSID;
+
 	cmd->flags |= WMI_UNIFIED_VDEV_START_LDPC_RX_ENABLED;
 	cmd->num_noa_descriptors = req->num_noa_descriptors;
 	cmd->preferred_rx_streams = req->preferred_rx_streams;