diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2011-04-07 14:19:54 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2011-04-07 14:19:54 +0000 |
commit | 5b1fc5433abd15bec0da81b57958cfa4af24fa3e (patch) | |
tree | 8787587cac833a52ef18bcec52eaadcf055d1bb6 /sys | |
parent | d29bbd04d668742aca5c9d535bab3eb4cf15152e (diff) |
Make sure the eeprom pointer is correctly initialized in
ar9380_spur_mitigate_ofdm().
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ic/ar9380.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/ar9380.c b/sys/dev/ic/ar9380.c index be736aba06f..59b5d1fedac 100644 --- a/sys/dev/ic/ar9380.c +++ b/sys/dev/ic/ar9380.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ar9380.c,v 1.13 2011/01/05 21:31:34 damien Exp $ */ +/* $OpenBSD: ar9380.c,v 1.14 2011/04/07 14:19:53 miod Exp $ */ /*- * Copyright (c) 2011 Damien Bergamini <damien.bergamini@free.fr> @@ -543,7 +543,7 @@ void ar9380_spur_mitigate_ofdm(struct athn_softc *sc, struct ieee80211_channel *c, struct ieee80211_channel *extc) { - const struct ar9380_eeprom *eep; + const struct ar9380_eeprom *eep = sc->eep; const uint8_t *spurchans; uint32_t reg; int idx, spur_delta_phase, spur_off, range, i; |