Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Nov 2015 08:02:52 +0000 (UTC)
From:      Garrett Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r291472 - head/sys/contrib/dev/ath/ath_hal/ar9300
Message-ID:  <201511300802.tAU82qNl026313@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511300802.tAU82qNl026313>