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