Date:2010-01-29 03:49:13 (3 years 3 months ago)
Author:nbd
Commit:2dab34dc0040b439d094eaa093a88d72d0eea1a9
Message:madwifi: make sure that minstrel rc updates still work after a jiffies wraparound

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19377 3c298f89-4303-0410-b956-a3cf2f4a3e73
Files: package/madwifi/patches/452-minstrel_no_timer.patch (1 diff)

Change Details

package/madwifi/patches/452-minstrel_no_timer.patch
3232         int mrr;
3333
3434+
35+ if (sn->last_update + msecs_to_jiffies(TIMER_INTERVAL) < jiffies) {
35+ if (abs(jiffies - sn->last_update) > msecs_to_jiffies(TIMER_INTERVAL)) {
3636+ ath_rate_statistics(&an->an_node);
3737+ sn->last_update = jiffies;
3838+ }

Archive Download the corresponding diff file



interactive