summaryrefslogtreecommitdiff
path: root/package/madwifi/patches/318-minstrel_mrr.patch
blob: 2b725c6e2da329c5689da9718f9eee86a583534b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Index: madwifi-trunk-r3314/ath_rate/minstrel/minstrel.c
===================================================================
--- madwifi-trunk-r3314.orig/ath_rate/minstrel/minstrel.c	2008-02-20 18:10:48.795295077 +0100
+++ madwifi-trunk-r3314/ath_rate/minstrel/minstrel.c	2008-02-20 18:10:50.951417946 +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)) {