commit | 4c89fe954d929781126af41691fba1bc670293a5 | [log] [tgz] |
---|---|---|
author | Rajkumar Manoharan <rmanoharan@atheros.com> | Mon Jan 31 23:47:46 2011 +0530 |
committer | John W. Linville <linville@tuxdriver.com> | Thu Feb 03 16:44:43 2011 -0500 |
tree | 7ce2e88e15890b5ca7005561a842b16c5434ddcd | |
parent | b2a5c3dfecf3d0e1db08ac7cd94ee4c1cf9bc998 [diff] |
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>