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
This commit is contained in:
Vignesh Viswanathan
2018-05-10 19:54:44 +05:30
committed by nshrivas
parent cf21ba8567
commit f0ef774994
2 changed files with 1 additions and 5 deletions

View File

@@ -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

View File

@@ -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;