mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-07 17:10:36 +00:00
Fix a case of "mis-located braces".
PR: kern/170302
This commit is contained in:
parent
af01710118
commit
9f579ef85d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=238962
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue