projects
/
librecmc
/
librecmc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b935b1a
)
madwifi: make sure that minstrel rc updates still work after a jiffies wraparound
author
Felix Fietkau
<nbd@openwrt.org>
Fri, 29 Jan 2010 02:49:13 +0000
(
02:49
+0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Fri, 29 Jan 2010 02:49:13 +0000
(
02:49
+0000)
SVN-Revision: 19377
package/madwifi/patches/452-minstrel_no_timer.patch
patch
|
blob
|
history
diff --git
a/package/madwifi/patches/452-minstrel_no_timer.patch
b/package/madwifi/patches/452-minstrel_no_timer.patch
index e7f2deac1c5a46461a4cd51be843aeb6bf2b3618..b9b5c9f074382ef07c0e210e1fe72a959d93ff30 100644
(file)
--- 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;
+ }