[PATCH 6/7] ath10k: use rx descriptor for ppdu status extraction

Kalle Valo kvalo at qca.qualcomm.com
Mon Nov 17 06:33:54 PST 2014


Michal Kazior <michal.kazior at tieto.com> writes:

> This makes it more in line with the new Rx path.
> It also makes the code more reusable because Rx
> descriptor is more accessible.
>
> Signed-off-by: Michal Kazior <michal.kazior at tieto.com>

This patch also had a checkpatch warning. Full patch here:

https://github.com/kvalo/ath/commit/d01090f45a5891f811bfaadb9a15c7e47ef0ef26

diff --git a/drivers/net/wireless/ath/ath10k/htt_rx.c b/drivers/net/wireless/ath/ath10k/htt_rx.c
index 41dce044e3e8..bf82cb756548 100644
--- a/drivers/net/wireless/ath/ath10k/htt_rx.c
+++ b/drivers/net/wireless/ath/ath10k/htt_rx.c
@@ -815,9 +815,8 @@ static void ath10k_htt_rx_h_ppdu(struct ath10k *ar,
 		ath10k_htt_rx_h_rates(ar, status, rxd);
 	}
 
-	if (is_last_ppdu) {
+	if (is_last_ppdu)
 		ath10k_htt_rx_h_mactime(ar, status, rxd);
-	}
 }
 
 static const char * const tid_to_ac[] = {


-- 
Kalle Valo



More information about the ath10k mailing list