Changeset 9835


Ignore:
Timestamp:
2007-12-22T17:17:17+01:00 (8 years ago)
Author:
nbd
Message:

sync with madwifi changeset 3070

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/madwifi/patches/110-minstrel_counters.patch

    r9820 r9835  
    1 diff --exclude '*~' -uNr madwifi-dfs-r3053.orig/ath_rate/minstrel/minstrel.c madwifi-dfs-r3053/ath_rate/minstrel/minstrel.c 
    2 --- madwifi-dfs-r3053.orig/ath_rate/minstrel/minstrel.c 2007-12-21 13:34:23.000000000 +0000 
    3 +++ madwifi-dfs-r3053/ath_rate/minstrel/minstrel.c      2007-12-21 14:29:07.000000000 +0000 
    4 @@ -449,7 +449,6 @@ 
     1Index: trunk/ath_rate/minstrel/minstrel.c 
     2=================================================================== 
     3--- trunk/ath_rate/minstrel/minstrel.c  (revision 3065) 
     4+++ trunk/ath_rate/minstrel/minstrel.c  (working copy) 
     5@@ -446,7 +446,6 @@ 
    56                const struct ath_desc *ds = &bf->bf_desc[0]; 
    67                int final_rate = 0; 
     
    1011                int final_ndx; 
    1112                int rate0, tries0, ndx0; 
    12 @@ -488,8 +487,8 @@ 
     13@@ -485,8 +484,8 @@ 
    1314                mrr = sc->sc_mrretry && !(ic->ic_flags & IEEE80211_F_USEPROT) && ENABLE_MRR; 
    1415  
     
    1718-                               sn->rs_rateattempts[ndx]++; /* only one rate was used */ 
    1819+                       if ((0 <= final_ndx) && (final_ndx < sn->num_rates)) { 
    19 +                               sn->rs_rateattempts[final_ndx]++; /* only one rate was used */ 
     20+                               sn->rs_rateattempts[final_ndx] += tries; /* only one rate was used */ 
    2021                        } 
    2122                        return; 
Note: See TracChangeset for help on using the changeset viewer.