ath9k_htc: Fix locking for ps_idle
authorSujith <Sujith.Manoharan@atheros.com>
Tue, 1 Jun 2010 09:44:16 +0000 (15:14 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 3 Jun 2010 18:14:40 +0000 (14:14 -0400)
commit23367769af90b63231cce6d70a39f1700ca5c03d
tree4c6ee38e365c15b73cc314a876a58e9815fc1375
parent3901737e25a85052e9650547f95aede62abc999b
ath9k_htc: Fix locking for ps_idle

ps_idle is protected by the htc_pm_lock mutex.
Use it to protect the variable.

Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/htc_drv_main.c