commit | 74bad5cb497080514c4a945f38589bdb574fdfb7 | [log] [tgz] |
---|---|---|
author | Pavel Roskin <proski@gnu.org> | Tue Feb 23 18:15:27 2010 -0500 |
committer | John W. Linville <linville@tuxdriver.com> | Tue Mar 09 15:03:06 2010 -0500 |
tree | 769baaf1d6c61e2a1d69eb2af19cd813415321c6 | |
parent | b4d59a9317e41faec3d0b6a03f0454d1e8abb710 [diff] |
ath9k: never read from the AR_IMR_S2 register The AR_IMR_S2 register sometimes cannot be read correctly. Instead of a valid value, 0xdeadbeef is returned. The driver has been observed writing that value back to AR_IMR_S2 after changing a few bits. Cache the register value in ah->imrs2_reg and always write chached value to the register. Signed-off-by: Pavel Roskin <proski@gnu.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>