]> 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:43:51 +0000 (08:43 -0700)
commit3cfbbe0e83024a77c9626977f1d59224b9f92860
tree4b950ae7e36948a0bab2d4fa2fd690ee71cb62b0
parent945797ee7348fb106dbd8708c1f6a7fd5b6edd3f
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/ath/ath5k/base.c