Author: adrian
Date: Wed Aug  1 00:18:02 2012
New Revision: 238962
URL: http://svn.freebsd.org/changeset/base/238962

Log:
  Fix a case of "mis-located braces".
  
  PR:           kern/170302

Modified:
  head/sys/dev/ath/ath_rate/sample/sample.c

Modified: head/sys/dev/ath/ath_rate/sample/sample.c
==============================================================================
--- head/sys/dev/ath/ath_rate/sample/sample.c   Tue Jul 31 23:54:15 2012        
(r238961)
+++ head/sys/dev/ath/ath_rate/sample/sample.c   Wed Aug  1 00:18:02 2012        
(r238962)
@@ -504,7 +504,7 @@ ath_rate_findrate(struct ath_softc *sc, 
 
        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 *s
        }
        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) {
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to