diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2006-01-05 19:43:45 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2006-03-22 22:16:52 -0500 |
commit | 5c4df6da580b9317dc0856e235232b95cbc8251c (patch) | |
tree | df82db654b024cd7204f182cbc40101681e012c0 /net/ieee80211/softmac/ieee80211softmac_assoc.c | |
parent | 45867e6a55aee984d69ce8f93a87e26d32d470dc (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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ieee80211/softmac/ieee80211softmac_assoc.c b/net/ieee80211/softmac/ieee80211softmac_assoc.c index d491005d6cfd..98487448f2d3 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 | |||
29 | 29 | ||
30 | /* Set a timer for timeout */ | 30 | /* Set a timer for timeout */ |
31 | /* FIXME: make timeout configurable */ | 31 | /* FIXME: make timeout configurable */ |
32 | queue_delayed_work(mac->workqueue, &mac->associnfo.timeout, 5 * HZ); | 32 | schedule_delayed_work(&mac->associnfo.timeout, 5 * HZ); |
33 | } | 33 | } |
34 | 34 | ||
35 | void | 35 | void |
@@ -324,7 +324,7 @@ ieee80211softmac_handle_assoc_response(struct net_device * dev, | |||
324 | network->authenticated = 0; | 324 | network->authenticated = 0; |
325 | /* we don't want to do this more than once ... */ | 325 | /* we don't want to do this more than once ... */ |
326 | network->auth_desynced_once = 1; | 326 | network->auth_desynced_once = 1; |
327 | queue_work(mac->workqueue, &mac->associnfo.work); | 327 | schedule_work(&mac->associnfo.work); |
328 | break; | 328 | break; |
329 | } | 329 | } |
330 | default: | 330 | default: |