summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath9k/core.h
diff options
context:
space:
mode:
authorSujith <Sujith.Manoharan@atheros.com>2008-12-18 06:10:16 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2008-12-19 20:23:50 (GMT)
commitaa33de09a849bd65b1201e1aec42e3e412c14cf6 (patch)
treeb3149a22e5fe928feba7eee35d54dd405252c7b2 /drivers/net/wireless/ath9k/core.h
parent5e3f308997f53d00e8cbebdb89d4f6e347aa963a (diff)
downloadlinux-fsl-qoriq-aa33de09a849bd65b1201e1aec42e3e412c14cf6.tar.xz
ath9k: Protect config() callback with a mutex
This should fix the timeout issues seen when using wpa_supplicant. Signed-off-by: Sujith <Sujith.Manoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/core.h')
-rw-r--r--drivers/net/wireless/ath9k/core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath9k/core.h b/drivers/net/wireless/ath9k/core.h
index e38f033..4ca2aed 100644
--- a/drivers/net/wireless/ath9k/core.h
+++ b/drivers/net/wireless/ath9k/core.h
@@ -701,6 +701,7 @@ struct ath_softc {
struct ath_hal *sc_ah;
void __iomem *mem;
spinlock_t sc_resetlock;
+ struct mutex mutex;
u8 sc_curbssid[ETH_ALEN];
u8 sc_myaddr[ETH_ALEN];