summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/madwifi/patches/452-minstrel_no_timer.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/madwifi/patches/452-minstrel_no_timer.patch b/package/madwifi/patches/452-minstrel_no_timer.patch
index e7f2deac1c..b9b5c9f074 100644
--- a/package/madwifi/patches/452-minstrel_no_timer.patch
+++ b/package/madwifi/patches/452-minstrel_no_timer.patch
@@ -32,7 +32,7 @@
int mrr;
+
-+ if (sn->last_update + msecs_to_jiffies(TIMER_INTERVAL) < jiffies) {
++ if (abs(jiffies - sn->last_update) > msecs_to_jiffies(TIMER_INTERVAL)) {
+ ath_rate_statistics(&an->an_node);
+ sn->last_update = jiffies;
+ }