]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit29a3b61af8fac5c9c36ff69981ce7f07bdb16586
tree4c6ee38e365c15b73cc314a876a58e9815fc1375
parente2a9acc1109f84a79ada656d94c6f818d9d289d6
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