]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: do not access hw registers in FULL SLEEP
authorRajkumar Manoharan <rmanoharan@atheros.com>
Mon, 31 Jan 2011 18:17:46 +0000 (23:47 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 3 Feb 2011 21:44:43 +0000 (16:44 -0500)
commit56cb4e1df41b1a47e0102e7d4b6dd9c8902024b3
tree7ce2e88e15890b5ca7005561a842b16c5434ddcd
parentce9bf1bf1c16d3e033bb67f06c661690a7a4d156
ath9k: do not access hw registers in FULL SLEEP

The opmode recalculation is accessing hw registers.
When it is called from remove interface callback and
if there are no vifs present then hw is moved to FULL SLEEP
by radio disable. So use power save wrappers before
accessing hw registers in calculating opmode state.

Signed-off-by: Rajkumar Manoharan <rmanoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/main.c