ath9k: Fix suspend/resume when no interface is UP
authorRajkumar Manoharan <rmanohar@qca.qualcomm.com>
Tue, 28 Jun 2011 12:51:19 +0000 (18:21 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 29 Jun 2011 18:36:44 +0000 (14:36 -0400)
commitc31eb8e926835582cd186b33a7a864880a4c0c79
treee420418ad30c4e8631e3c96c2bf0dc8fa69b0742
parent5ee0a58d8ca443e80ed8712c86c9938360b79cac
ath9k: Fix suspend/resume when no interface is UP

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

Cc: stable@kernel.org
Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/pci.c