firmware-utils/mkzynfw: add support for the NBG460N board
[openwrt.git] / package / madwifi / patches / 452-minstrel_no_timer.patch
index e7f2dea..b9b5c9f 100644 (file)
@@ -32,7 +32,7 @@
                int mrr;
  
 +
                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;
 +              }
 +                      ath_rate_statistics(&an->an_node);
 +                      sn->last_update = jiffies;
 +              }
This page took 0.028102 seconds and 4 git commands to generate.