]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ath5k: write PCU registers on initial reset
authorBob Copeland <me@bobcopeland.com>
Sun, 5 Jul 2009 01:03:13 +0000 (21:03 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 24 Sep 2009 15:27:08 +0000 (08:27 -0700)
commitf1d3ff8e09a2f7bf1ba969c1d38d29725ef1a4c4
tree06a423d606536d572d884e19e6bb25e907319b2f
parent23c686de43928eb7d2bcc2485333e87498f5a27e
ath5k: write PCU registers on initial reset

commit 3355443ad7601991affa5992b0d53870335af765 upstream.

"Ath5k: unify resets"
introduced a regression into 2.6.28 where the PCU registers are never
initialized, due to ath5k_reset() always passing true for change_channel.
We subsequently program a lot of these registers but several may start
in an unknown state.

Reported-by: Forrest Zhang <forrest@hifulltech.com>
Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/ath5k/base.c