summaryrefslogtreecommitdiffstats
path: root/net/ieee80211/softmac/ieee80211softmac_module.c
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2006-05-05 16:56:24 -0400
committerJohn W. Linville <linville@tuxdriver.com>2006-05-05 16:56:24 -0400
commitfd5226a72694d1c0abe1cc39711a86f1754e637d (patch)
tree1d90b27c392fb2ef9859f2652dee7640916ed806 /net/ieee80211/softmac/ieee80211softmac_module.c
parentaad61439e6a00bdb72cb649e11f6e166590c5f66 (diff)
parent178e0cc5ff249965c6cfbd78b1af6a5e614d837c (diff)
downloadop-kernel-dev-fd5226a72694d1c0abe1cc39711a86f1754e637d.zip
op-kernel-dev-fd5226a72694d1c0abe1cc39711a86f1754e637d.tar.gz
Merge branch 'upstream-fixes' into upstream
Diffstat (limited to 'net/ieee80211/softmac/ieee80211softmac_module.c')
-rw-r--r--net/ieee80211/softmac/ieee80211softmac_module.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/ieee80211/softmac/ieee80211softmac_module.c b/net/ieee80211/softmac/ieee80211softmac_module.c
index be83bdc..6252be2 100644
--- a/net/ieee80211/softmac/ieee80211softmac_module.c
+++ b/net/ieee80211/softmac/ieee80211softmac_module.c
@@ -89,6 +89,8 @@ ieee80211softmac_clear_pending_work(struct ieee80211softmac_device *sm)
ieee80211softmac_wait_for_scan(sm);
spin_lock_irqsave(&sm->lock, flags);
+ sm->running = 0;
+
/* Free all pending assoc work items */
cancel_delayed_work(&sm->associnfo.work);
@@ -204,6 +206,8 @@ void ieee80211softmac_start(struct net_device *dev)
assert(0);
if (mac->txrates_change)
mac->txrates_change(dev, change, &oldrates);
+
+ mac->running = 1;
}
EXPORT_SYMBOL_GPL(ieee80211softmac_start);
OpenPOWER on IntegriCloud