From 0751ec93ff22ce336c6e0666159c1384a9bed86c Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 26 Jan 2008 05:45:31 +0000 Subject: [PATCH] madwifi: use mrr even in legacy mode SVN-Revision: 10269 --- .../madwifi/patches/318-minstrel_mrr.patch | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 package/madwifi/patches/318-minstrel_mrr.patch diff --git a/package/madwifi/patches/318-minstrel_mrr.patch b/package/madwifi/patches/318-minstrel_mrr.patch new file mode 100644 index 00000000000..0c67b261727 --- /dev/null +++ b/package/madwifi/patches/318-minstrel_mrr.patch @@ -0,0 +1,22 @@ +Index: madwifi-dfs-r3252/ath_rate/minstrel/minstrel.c +=================================================================== +--- madwifi-dfs-r3252.orig/ath_rate/minstrel/minstrel.c 2008-01-26 03:42:00.155571408 +0100 ++++ madwifi-dfs-r3252/ath_rate/minstrel/minstrel.c 2008-01-26 05:55:24.107535577 +0100 +@@ -328,7 +328,7 @@ + return; + } + +- mrr = sc->sc_mrretry && !(ic->ic_flags & IEEE80211_F_USEPROT) && ENABLE_MRR; ++ mrr = sc->sc_mrretry && ENABLE_MRR; + + if (sn->static_rate_ndx >= 0) { + ndx = sn->static_rate_ndx; +@@ -486,7 +486,7 @@ + if (!ts->ts_status) /* Success when sending a packet*/ + sn->rs_ratesuccess[final_ndx]++; + +- mrr = sc->sc_mrretry && !(ic->ic_flags & IEEE80211_F_USEPROT) && ENABLE_MRR; ++ mrr = sc->sc_mrretry && ENABLE_MRR; + + if (!mrr) { + if ((0 <= final_ndx) && (final_ndx < sn->num_rates)) { -- 2.30.2