diff options
author | David Howells <dhowells@redhat.com> | 2006-12-10 05:18:31 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-10 12:55:39 -0500 |
commit | db9a758c3895ae99d647143d1f043938eb68521e (patch) | |
tree | 7e62c6c2bb200e591f275d058c0cfe8bca7db7dd /net/ieee80211 | |
parent | af1713e0f111647052953ba12fd10a59c74a5dde (diff) |
[PATCH] workstruct: fix ieee80211-softmac compile problem
Fix ieee80211-softmac compile problem where it's using schedule_work() on a
delayed_work struct.
Signed-off-by: David Howells <dhowells@redhat.com>
Cc: "John W. Linville" <linville@tuxdriver.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'net/ieee80211')
-rw-r--r-- | net/ieee80211/softmac/ieee80211softmac_assoc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ieee80211/softmac/ieee80211softmac_assoc.c b/net/ieee80211/softmac/ieee80211softmac_assoc.c index eec1a1dd91da..e3f37fdda65f 100644 --- a/net/ieee80211/softmac/ieee80211softmac_assoc.c +++ b/net/ieee80211/softmac/ieee80211softmac_assoc.c | |||
@@ -438,7 +438,7 @@ ieee80211softmac_try_reassoc(struct ieee80211softmac_device *mac) | |||
438 | 438 | ||
439 | spin_lock_irqsave(&mac->lock, flags); | 439 | spin_lock_irqsave(&mac->lock, flags); |
440 | mac->associnfo.associating = 1; | 440 | mac->associnfo.associating = 1; |
441 | schedule_work(&mac->associnfo.work); | 441 | schedule_delayed_work(&mac->associnfo.work, 0); |
442 | spin_unlock_irqrestore(&mac->lock, flags); | 442 | spin_unlock_irqrestore(&mac->lock, flags); |
443 | } | 443 | } |
444 | 444 | ||