Skip to contentSkip to conversation

ath10k: Clear rx status enc_flags

PATCH New [email protected] 1 participant 1 message Mar 1, 2018 Qualcomm Atheros ATH10K wireless driver

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ath10k: Clear rx status enc_flags

From: Ben Greear <[email protected]>

Otherwise, rx rate encodings are wrong as SGI flag may be set when it should not be. Maybe other issues as well.

---
 drivers/net/wireless/ath/ath10k/htt_rx.c | 1 +
 1 file changed, 1 insertion(+)
drivers/net/wireless/ath/ath10k/htt_rx.c +1 -0
index 83eb7b2..8446dfc 100644
@@ -901,6 +901,7 @@ static void ath10k_htt_rx_h_ppdu(struct ath10k *ar,
 		status->rate_idx = 0;
 		status->nss = 0;
 		status->encoding = RX_ENC_LEGACY;
+		status->enc_flags = 0;
 		status->bw = RATE_INFO_BW_20;
 		status->flag &= ~RX_FLAG_MACTIME_END;
 		status->flag |= RX_FLAG_NO_SIGNAL_VAL;
Signature · 1 line
2.4.11