>> } >> - ret = ath5k_hw_reset(ah, sc->opmode, sc->curchan, true); >> + ret = ath5k_hw_reset(ah, sc->opmode, sc->curchan, chan == NULL); > > Shouldn't this be chan != NULL? I'd assume that chan is NULL the first > time and change_channel thus should be false to initialize all the > registers.
Yup, it should... I could swear I tested it, must've gotten lucky. Thanks for the catch. -- Bob Copeland %% www.bobcopeland.com _______________________________________________ ath5k-devel mailing list ath5k-devel@lists.ath5k.org https://lists.ath5k.org/mailman/listinfo/ath5k-devel