ath9k: Fix suspend/resume when no interface is UP
commit0976b5a625477c9782a0cb10eec6bff3a923d452
authorRajkumar Manoharan <rmanohar@qca.qualcomm.com>
Tue, 28 Jun 2011 12:51:19 +0000 (28 18:21 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 9 Jul 2011 06:15:10 +0000 (8 23:15 -0700)
treead95b00e5c38267519c0d1bb67951c7d22db37ab
parent13437076f02872e9cd3273959c9ff8b2693f243a
ath9k: Fix suspend/resume when no interface is UP

commit c31eb8e926835582cd186b33a7a864880a4c0c79 upstream.

When no interface has been brought up, the chip's power
state continued as AWAKE. So during resume, the chip never
been powered up.

Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/ath/ath9k/pci.c