aboutsummaryrefslogtreecommitdiff
path: root/net/ieee80211/softmac/ieee80211softmac_assoc.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2006-01-06 01:43:45 +0100
committerJohn W. Linville <linville@tuxdriver.com>2006-03-22 22:16:52 -0500
commit5c4df6da580b9317dc0856e235232b95cbc8251c (patch)
treedf82db654b024cd7204f182cbc40101681e012c0 /net/ieee80211/softmac/ieee80211softmac_assoc.c
parent45867e6a55aee984d69ce8f93a87e26d32d470dc (diff)
[PATCH] softmac: convert to use global workqueue
Convert softmac to use global workqueue instead of private one... Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/ieee80211/softmac/ieee80211softmac_assoc.c')
-rw-r--r--net/ieee80211/softmac/ieee80211softmac_assoc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ieee80211/softmac/ieee80211softmac_assoc.c b/net/ieee80211/softmac/ieee80211softmac_assoc.c
index d491005d6cf..98487448f2d 100644
--- a/net/ieee80211/softmac/ieee80211softmac_assoc.c
+++ b/net/ieee80211/softmac/ieee80211softmac_assoc.c
@@ -29,7 +29,7 @@ ieee80211softmac_assoc(struct ieee80211softmac_device *mac, struct ieee80211soft
/* Set a timer for timeout */
/* FIXME: make timeout configurable */
- queue_delayed_work(mac->workqueue, &mac->associnfo.timeout, 5 * HZ);
+ schedule_delayed_work(&mac->associnfo.timeout, 5 * HZ);
}
void
@@ -324,7 +324,7 @@ ieee80211softmac_handle_assoc_response(struct net_device * dev,
network->authenticated = 0;
/* we don't want to do this more than once ... */
network->auth_desynced_once = 1;
- queue_work(mac->workqueue, &mac->associnfo.work);
+ schedule_work(&mac->associnfo.work);
break;
}
default: