diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-11-16 13:08:41 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-12-07 15:19:34 -0500 |
commit | c0c1174144dd619456be5930d733028a055ef425 (patch) | |
tree | 21935e2a32845647269a5c7848d22286c01e024b /drivers/nubus | |
parent | c8e8868e3bf2ee0b6e606ce43af023b5f6edc954 (diff) |
ath9k: rework power state handling
Turning off the radio when mac80211 tells the driver that it's idle is not
a good idea, as idle interfaces might still occasionally scan or send packets.
The only time the radio can be safely turned off is when drv_stop has been
called. In the mean time, use sc->ps_idle only to indicate network sleep vs
full sleep.
Move the LED GPIO changes out of the PCI suspend/resume path, the start/stop
functions already take care of that.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/nubus')
0 files changed, 0 insertions, 0 deletions