diff options
| author | Manikandaraja Venkatachalapathy <vmanikan@qca.qualcomm.com> | 2014-08-07 16:31:29 -0700 |
|---|---|---|
| committer | Akash Patel <c_akashp@qca.qualcomm.com> | 2014-08-09 00:20:05 -0700 |
| commit | b6d46629fa9fe78697db16e73446cbf0ed007a99 (patch) | |
| tree | c7eb46b14f6a89bd5185ef79bf4d1c7f2affa6a5 | |
| parent | cb3ad4bc3401dd6ef764b181b500dc5889c1b354 (diff) | |
qcacld: WMA: Fill up channel frequency
Fill channel frequency field for WDA_TxPacket
Change-Id: I568ad408ab60e557731d6f5d1658ee1da35bb34a
CRs-Fixed: 706495
| -rw-r--r-- | CORE/SERVICES/WMA/wma.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/CORE/SERVICES/WMA/wma.c b/CORE/SERVICES/WMA/wma.c index 52f0dab41fb6..7086de41231d 100644 --- a/CORE/SERVICES/WMA/wma.c +++ b/CORE/SERVICES/WMA/wma.c @@ -24272,7 +24272,9 @@ VOS_STATUS WDA_TxPacket(void *wma_context, void *tx_frame, u_int16_t frmLen, if (wma_handle->roam_preauth_scan_state == WMA_ROAM_PREAUTH_ON_CHAN) { chanfreq = wma_handle->roam_preauth_chanfreq; WMA_LOGI("%s: Preauth frame on channel %d", __func__, chanfreq); - } else { + } else if(pFc->subType == SIR_MAC_MGMT_PROBE_RSP){ + chanfreq = wma_handle->interfaces[vdev_id].mhz; + } else { chanfreq = 0; } if (pMac->fEnableDebugLog & 0x1) { |
