ath9k: add missing locking around ath9k_hw_proc_mib_event
authorFelix Fietkau <nbd@openwrt.org>
Tue, 12 Oct 2010 14:08:03 +0000 (16:08 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 15 Oct 2010 19:48:44 +0000 (15:48 -0400)
commit88eac2dad876a58b9c6a4c4805c3fc27b02c048f
tree7a77584f2324bfbe9745932e89ce0f84d5f649bf
parent431c74821432a6078d54f08de7cd561f8ef8f1ba
ath9k: add missing locking around ath9k_hw_proc_mib_event

ath9k_hw_proc_mib_event updates the cycle counters, so it common->cc_lock
must be acquired.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/main.c