diff options
Diffstat (limited to 'sys/dev/ic/ar9285.c')
-rw-r--r-- | sys/dev/ic/ar9285.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/ic/ar9285.c b/sys/dev/ic/ar9285.c index 02d678f40bd..ea32614691d 100644 --- a/sys/dev/ic/ar9285.c +++ b/sys/dev/ic/ar9285.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ar9285.c,v 1.1 2009/11/14 16:55:11 damien Exp $ */ +/* $OpenBSD: ar9285.c,v 1.2 2009/11/14 20:18:25 deraadt Exp $ */ /*- * Copyright (c) 2009 Damien Bergamini <damien.bergamini@free.fr> @@ -591,10 +591,12 @@ ar9285_set_txpower(struct athn_softc *sc, struct ieee80211_channel *c, const struct ar9285_eeprom *eep = sc->eep; const struct ar9285_modal_eep_header *modal = &eep->modalHeader; uint8_t tpow_cck[4], tpow_ofdm[4]; +#ifndef IEEE80211_NO_HT uint8_t tpow_cck_ext[4], tpow_ofdm_ext[4]; uint8_t tpow_ht20[8], tpow_ht40[8]; - int16_t max_ant_gain, power[ATHN_POWER_COUNT]; uint8_t ht40inc; +#endif + int16_t max_ant_gain, power[ATHN_POWER_COUNT]; int i; ar9285_set_power_calib(sc, c); |