This looks like an obvious and accidental coding error. But I have no
working athn(4) hardware to confirm that fixing it doesn't do any harm.
Can athn(4) users please test this? Thanks.

Index: athn.c
===================================================================
RCS file: /cvs/src/sys/dev/ic/athn.c,v
retrieving revision 1.74
diff -u -p -r1.74 athn.c
--- athn.c      20 Oct 2012 09:54:20 -0000      1.74
+++ athn.c      20 Oct 2012 19:07:52 -0000
@@ -915,8 +915,8 @@ athn_switch_chan(struct athn_softc *sc, 
 #ifdef notyet
        /* AR9280 needs a full reset. */
        if (AR_SREV_9280(sc))
-#endif
                goto reset;
+#endif
 
        /* If band or bandwidth changes, we need to do a full reset. */
        if (c->ic_flags != sc->curchan->ic_flags ||

Reply via email to