summaryrefslogtreecommitdiff
path: root/sys/dev/ic/athn.c
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2011-01-08 10:42:19 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2011-01-08 10:42:19 +0000
commit49f0053ad01976961361e9feabc0a6c1e630a3a4 (patch)
treedaf539c3b779d07c90b035edf6643c4ef978181f /sys/dev/ic/athn.c
parentf39a42182929e56103fb949a953546d96b567dcc (diff)
the USB frontend has its own switch_chan() function, so no need to
do AR9271-specific stuff here.
Diffstat (limited to 'sys/dev/ic/athn.c')
-rw-r--r--sys/dev/ic/athn.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/ic/athn.c b/sys/dev/ic/athn.c
index 17755c6c1d7..9924bd88b50 100644
--- a/sys/dev/ic/athn.c
+++ b/sys/dev/ic/athn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: athn.c,v 1.69 2011/01/06 07:27:15 damien Exp $ */
+/* $OpenBSD: athn.c,v 1.70 2011/01/08 10:42:18 damien Exp $ */
/*-
* Copyright (c) 2009 Damien Bergamini <damien.bergamini@free.fr>
@@ -152,7 +152,6 @@ int ar9280_attach(struct athn_softc *);
int ar9285_attach(struct athn_softc *);
int ar9287_attach(struct athn_softc *);
int ar9380_attach(struct athn_softc *);
-void ar9271_load_ani(struct athn_softc *);
int ar5416_init_calib(struct athn_softc *,
struct ieee80211_channel *, struct ieee80211_channel *);
int ar9285_init_calib(struct athn_softc *,
@@ -893,8 +892,6 @@ athn_switch_chan(struct athn_softc *sc, struct ieee80211_channel *c,
goto reset;
error = athn_set_chan(sc, c, extc);
- if (AR_SREV_9271(sc) && error == 0)
- ar9271_load_ani(sc);
if (error != 0) {
reset: /* Error found, try a full reset. */
DPRINTFN(3, ("needs a full reset\n"));