]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: race condition in SCANNING state check during ANI calibration
authorSenthil Balasubramanian <senthilkumar@atheros.com>
Wed, 24 Jun 2009 13:26:41 +0000 (18:56 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 10 Jul 2009 19:02:24 +0000 (15:02 -0400)
commit7cb0511292e3862aa6decabf23142407c4c51bee
tree517b9d993790e182918b0950413913b2dfad7f8c
parent01520f27f5907e8fc5bc093f9cafa966227cccfc
ath9k: race condition in SCANNING state check during ANI calibration

ANI calibration shouldn't be done when we are not on our home channel.
This is already verified. However, it is racy. Fix this by proper
spin locks.

Signed-off-by: Senthil Balasubramanian <senthilkumar@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ath9k.h
drivers/net/wireless/ath/ath9k/main.c