The trunk and the madwifi-dfs branch fixed jiffy rollover differently,
but the madwifi-dfs fix is closer to the original code.
Reference: madwifi-dfs@3676
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3788
0192ed92-7a03-0410-a25b-
9323aeb14dbd
on->on_tx_err++;
on->on_tx_retr += ts->ts_shortretry
+ ts->ts_longretry;
- if (time_after(jiffies, on->on_nextcheck)) {
+ if (time_after_eq(jiffies, on->on_nextcheck)) {
ath_rate_ctl(sc, &an->an_node);
/* XXX halve rate for station mode */
on->on_nextcheck = jiffies + (ath_rateinterval * HZ) / 1000;