svn commit: r291472 - head/sys/contrib/dev/ath/ath_hal/ar9300

Garrett Cooper ngie at FreeBSD.org
Mon Nov 30 08:02:54 UTC 2015


Author: ngie
Date: Mon Nov 30 08:02:52 2015
New Revision: 291472
URL: https://svnweb.freebsd.org/changeset/base/291472

Log:
  Fix the build
  
  ichan is only used if AH_DEBUG_ALQ if defined
  
  Pointyhat to: adrian

Modified:
  head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_radio.c

Modified: head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_radio.c
==============================================================================
--- head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_radio.c	Mon Nov 30 06:56:25 2015	(r291471)
+++ head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_radio.c	Mon Nov 30 08:02:52 2015	(r291472)
@@ -86,7 +86,9 @@ ar9300_set_channel(struct ath_hal *ah, s
     u_int8_t clk_25mhz = AH9300(ah)->clk_25mhz;
     CHAN_CENTERS centers;
     int load_synth_channel;
+#ifdef	AH_DEBUG_ALQ
     HAL_CHANNEL_INTERNAL *ichan = ath_hal_checkchannel(ah, chan);
+#endif
 
     /*
      * Put this behind AH_DEBUG_ALQ for now until the Hornet


More information about the svn-src-all mailing list