diff options
author | ngie <ngie@FreeBSD.org> | 2015-11-30 08:02:52 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2015-11-30 08:02:52 +0000 |
commit | d3f9d0a0e219274721bfde2ee8ccc512e9864ef7 (patch) | |
tree | a032f9529098ddab871a1d6b61ad014780c2ec6e /sys/contrib/dev | |
parent | f18c5bf78527c679c79fc140f0895aca80b0382a (diff) | |
download | FreeBSD-src-d3f9d0a0e219274721bfde2ee8ccc512e9864ef7.zip FreeBSD-src-d3f9d0a0e219274721bfde2ee8ccc512e9864ef7.tar.gz |
Fix the build
ichan is only used if AH_DEBUG_ALQ if defined
Pointyhat to: adrian
Diffstat (limited to 'sys/contrib/dev')
-rw-r--r-- | sys/contrib/dev/ath/ath_hal/ar9300/ar9300_radio.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_radio.c b/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_radio.c index 9a40c44..e70e132 100644 --- a/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_radio.c +++ b/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_radio.c @@ -86,7 +86,9 @@ ar9300_set_channel(struct ath_hal *ah, struct ieee80211_channel *chan) 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 |