diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-01-25 20:24:25 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-01-25 20:24:25 +0000 |
commit | 1fb5433154f637fce9803dd0ff603580c8c69af1 (patch) | |
tree | 7e2ca9b81d7732cd4ee2df0d5ec7f45a12ca6a2d /package/madwifi/patches/110-minstrel_counters.patch | |
parent | 76eef0ab425961fe454ff8ed0e0d0097790d3695 (diff) | |
download | upstream-1fb5433154f637fce9803dd0ff603580c8c69af1.tar.gz upstream-1fb5433154f637fce9803dd0ff603580c8c69af1.tar.bz2 upstream-1fb5433154f637fce9803dd0ff603580c8c69af1.zip |
upgrade madwifi, finally fix the annoying ap auto channel selection bug, default to automatic channel selection
SVN-Revision: 10259
Diffstat (limited to 'package/madwifi/patches/110-minstrel_counters.patch')
-rw-r--r-- | package/madwifi/patches/110-minstrel_counters.patch | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/package/madwifi/patches/110-minstrel_counters.patch b/package/madwifi/patches/110-minstrel_counters.patch deleted file mode 100644 index 7e0b46b67a..0000000000 --- a/package/madwifi/patches/110-minstrel_counters.patch +++ /dev/null @@ -1,23 +0,0 @@ -Index: trunk/ath_rate/minstrel/minstrel.c -=================================================================== ---- trunk/ath_rate/minstrel/minstrel.c (revision 3065) -+++ trunk/ath_rate/minstrel/minstrel.c (working copy) -@@ -446,7 +446,6 @@ - const struct ath_desc *ds = &bf->bf_desc[0]; - int final_rate = 0; - int tries = 0; -- int ndx = -1; - int mrr; - int final_ndx; - int rate0, tries0, ndx0; -@@ -485,8 +484,8 @@ - mrr = sc->sc_mrretry && !(ic->ic_flags & IEEE80211_F_USEPROT) && ENABLE_MRR; - - if (!mrr) { -- if ((0 <= ndx) && (ndx < sn->num_rates)) { -- sn->rs_rateattempts[ndx]++; /* only one rate was used */ -+ if ((0 <= final_ndx) && (final_ndx < sn->num_rates)) { -+ sn->rs_rateattempts[final_ndx] += tries; /* only one rate was used */ - } - return; - } |