aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ath/ath_rate/sample
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2012-08-01 00:18:02 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2012-08-01 00:18:02 +0000
commit9f579ef85daa47b50a6c6c2477c812804339a15e (patch)
tree53d4fe3fbc0ff2d0b547128c59292aa98dc19eba /sys/dev/ath/ath_rate/sample
parentaf01710118a6bf87eff0141f5dd46fd1c487e9b1 (diff)
Notes
Diffstat (limited to 'sys/dev/ath/ath_rate/sample')
-rw-r--r--sys/dev/ath/ath_rate/sample/sample.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ath/ath_rate/sample/sample.c b/sys/dev/ath/ath_rate/sample/sample.c
index a69b30604b17..985551b316cf 100644
--- a/sys/dev/ath/ath_rate/sample/sample.c
+++ b/sys/dev/ath/ath_rate/sample/sample.c
@@ -504,7 +504,7 @@ ath_rate_findrate(struct ath_softc *sc, struct ath_node *an,
mrr = sc->sc_mrretry;
/* XXX check HT protmode too */
- if (mrr && (ic->ic_flags & IEEE80211_F_USEPROT) && !sc->sc_mrrprot)
+ if (mrr && (ic->ic_flags & IEEE80211_F_USEPROT && !sc->sc_mrrprot))
mrr = 0;
best_rix = pick_best_rate(an, rt, size_bin, !mrr);
@@ -914,7 +914,7 @@ ath_rate_tx_complete(struct ath_softc *sc, struct ath_node *an,
}
mrr = sc->sc_mrretry;
/* XXX check HT protmode too */
- if (mrr && (ic->ic_flags & IEEE80211_F_USEPROT) && !sc->sc_mrrprot)
+ if (mrr && (ic->ic_flags & IEEE80211_F_USEPROT && !sc->sc_mrrprot))
mrr = 0;
if (!mrr || ts->ts_finaltsi == 0) {