summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2010-04-10 10:59:13 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2010-04-10 10:59:13 +0000
commit613ed1ff2449365fee079b179453da497be238c3 (patch)
tree2efda9df1335b8fce03e50782fcb26988750bdfd /sys/dev/ic
parent6a6c481b1ba01d3e5d860bc8783563bbd2717008 (diff)
always do a full reset when changing the channel on AR5008 devices,
until i figure out why TX sometimes gets stucked. a full reset was already necessary on AR9280 devices, so there is no change for these devices.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/athn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/athn.c b/sys/dev/ic/athn.c
index 6c9a45e97ee..dbc945b2869 100644
--- a/sys/dev/ic/athn.c
+++ b/sys/dev/ic/athn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: athn.c,v 1.33 2010/04/07 16:31:16 damien Exp $ */
+/* $OpenBSD: athn.c,v 1.34 2010/04/10 10:59:12 damien Exp $ */
/*-
* Copyright (c) 2009 Damien Bergamini <damien.bergamini@free.fr>
@@ -1281,7 +1281,7 @@ athn_switch_chan(struct athn_softc *sc, struct ieee80211_channel *c,
goto reset;
/* AR9280 always needs a full reset. */
- if (AR_SREV_9280(sc))
+/* if (AR_SREV_9280(sc)) */
goto reset;
/* If band or bandwidth changes, we need to do a full reset. */