|
@@ -1719,7 +1719,7 @@ htt_tx_desc_init(htt_pdev_handle pdev,
|
|
|
(struct htt_host_tx_desc_t *)
|
|
|
(((char *)htt_tx_desc) - HTT_TX_DESC_VADDR_OFFSET);
|
|
|
bool desc_ext_required = (type != EXT_HEADER_NOT_PRESENT);
|
|
|
- uint16_t channel_freq;
|
|
|
+ int channel_freq;
|
|
|
void *qdf_ctx = cds_get_context(QDF_MODULE_ID_QDF_DEVICE);
|
|
|
QDF_STATUS status;
|
|
|
|
|
@@ -1816,7 +1816,7 @@ htt_tx_desc_init(htt_pdev_handle pdev,
|
|
|
*/
|
|
|
local_word3 = HTT_INVALID_PEER;
|
|
|
channel_freq = htt_get_channel_freq(type, ext_header_data);
|
|
|
- if (channel_freq != HTT_INVALID_CHANNEL)
|
|
|
+ if (channel_freq != HTT_INVALID_CHANNEL && channel_freq > 0)
|
|
|
HTT_TX_DESC_CHAN_FREQ_SET(local_word3, channel_freq);
|
|
|
#if HTT_PADDR64
|
|
|
*word4 = local_word3;
|