summaryrefslogtreecommitdiff
path: root/net/ieee80211/softmac/ieee80211softmac_module.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2006-10-21 22:21:11 +0400
committerJeff Garzik <jeff@garzik.org>2006-10-21 22:21:11 +0400
commitcde49b058474ab3f7ff830283e5b538e8fbeefe5 (patch)
tree28fdc4035af01d19c4f976d020ce98f251298182 /net/ieee80211/softmac/ieee80211softmac_module.c
parentcfadbd298e8b3e7f2e324696b653bb74094590db (diff)
parent41072a1be57f63bf83afc31c44d72de018d800fa (diff)
downloadlinux-cde49b058474ab3f7ff830283e5b538e8fbeefe5.tar.xz
Merge branch 'upstream-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 into upstream-fixes
Diffstat (limited to 'net/ieee80211/softmac/ieee80211softmac_module.c')
-rw-r--r--net/ieee80211/softmac/ieee80211softmac_module.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ieee80211/softmac/ieee80211softmac_module.c b/net/ieee80211/softmac/ieee80211softmac_module.c
index addea1cf73ae..33aff4f4a471 100644
--- a/net/ieee80211/softmac/ieee80211softmac_module.c
+++ b/net/ieee80211/softmac/ieee80211softmac_module.c
@@ -57,6 +57,7 @@ struct net_device *alloc_ieee80211softmac(int sizeof_priv)
INIT_LIST_HEAD(&softmac->network_list);
INIT_LIST_HEAD(&softmac->events);
+ mutex_init(&softmac->associnfo.mutex);
INIT_WORK(&softmac->associnfo.work, ieee80211softmac_assoc_work, softmac);
INIT_WORK(&softmac->associnfo.timeout, ieee80211softmac_assoc_timeout, softmac);
softmac->start_scan = ieee80211softmac_start_scan_implementation;