Parcourir la source

qcacld-3.0: Remove unused scan_info struct in wma_txrx_node

Remove the unused member scan_info in wma_txrx_node structure.

Change-Id: Ice2c3209620ac7fd9874680b2d976ca363d22695
CRs-Fixed: 2239807
Vignesh Viswanathan il y a 7 ans
Parent
commit
f0ef774994
2 fichiers modifiés avec 1 ajouts et 5 suppressions
  1. 0 1
      core/wma/inc/wma.h
  2. 1 4
      core/wma/src/wma_data.c

+ 0 - 1
core/wma/inc/wma.h

@@ -1049,7 +1049,6 @@ struct wma_txrx_node {
 	struct beacon_info *beacon;
 	vdev_restart_params_t vdev_restart_params;
 	vdev_cli_config_t config;
-	struct scan_param scan_info;
 	uint32_t type;
 	uint32_t sub_type;
 #ifdef FEATURE_WLAN_ESE

+ 1 - 4
core/wma/src/wma_data.c

@@ -2686,10 +2686,7 @@ QDF_STATUS wma_tx_packet(void *wma_context, void *tx_frame, uint16_t frmLen,
 	if (tx_flag & HAL_USE_BD_RATE2_FOR_MANAGEMENT_FRAME)
 		use_6mbps = 1;
 
-	if (wma_handle->interfaces[vdev_id].scan_info.chan_freq != 0) {
-		chanfreq = wma_handle->interfaces[vdev_id].scan_info.chan_freq;
-		WMA_LOGI("%s: Preauth frame on channel %d", __func__, chanfreq);
-	} else if (pFc->subType == SIR_MAC_MGMT_PROBE_RSP) {
+	if (pFc->subType == SIR_MAC_MGMT_PROBE_RSP) {
 		if ((wma_is_vdev_in_ap_mode(wma_handle, vdev_id)) &&
 		    (0 != wma_handle->interfaces[vdev_id].mhz))
 			chanfreq = wma_handle->interfaces[vdev_id].mhz;