1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

Fix the build

ichan is only used if AH_DEBUG_ALQ if defined

Pointyhat to: adrian
This commit is contained in:
Enji Cooper 2015-11-30 08:02:52 +00:00
parent 5c15e5d044
commit 2451d4dd33
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=291472

View File

@ -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