Author: adrian
Date: Wed Nov  9 04:08:01 2011
New Revision: 227371
URL: http://svn.freebsd.org/changeset/base/227371

Log:
  Fix the compile to work when IEEE80211_DEBUG isn't defined.
  
  Sponsored by: Hobnob, Inc.

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   Wed Nov  9 01:40:46 2011        
(r227370)
+++ head/sys/dev/ath/ath_rate/sample/sample.c   Wed Nov  9 04:08:01 2011        
(r227371)
@@ -760,7 +760,9 @@ update_stats(struct ath_softc *sc, struc
 {
        struct sample_node *sn = ATH_NODE_SAMPLE(an);
        struct sample_softc *ssc = ATH_SOFTC_SAMPLE(sc);
+#ifdef IEEE80211_DEBUG
        const HAL_RATE_TABLE *rt = sc->sc_currates;
+#endif
        const int size_bin = size_to_bin(frame_size);
        const int size = bin_to_size(size_bin);
        int tt, tries_so_far;
_______________________________________________
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