From: Felix Fietkau Date: Wed, 16 Nov 2011 12:08:41 +0000 (+0100) Subject: ath9k: rework power state handling X-Git-Tag: v3.3-rc1~182^2~261^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0c1174144dd619456be5930d733028a055ef425;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed