Commit c2ce2145 authored by Li Qiong's avatar Li Qiong Committed by Kalle Valo
Browse files
parent 14a3aacf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1880,7 +1880,7 @@ static inline void mwl8k_tx_count_packet(struct ieee80211_sta *sta, u8 tid)
	 * packets ever exceeds the ampdu_min_traffic threshold, we will allow
	 * an ampdu stream to be started.
	 */
	if (jiffies - tx_stats->start_time > HZ) {
	if (time_after(jiffies, (unsigned long)tx_stats->start_time + HZ)) {
		tx_stats->pkts = 0;
		tx_stats->start_time = 0;
	} else