From: David Howells Date: Sun, 10 Dec 2006 10:18:31 +0000 (-0800) Subject: [PATCH] workstruct: fix ieee80211-softmac compile problem X-Git-Tag: v2.6.20-rc1~145^2~91 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=db9a758c3895ae99d647143d1f043938eb68521e;p=karo-tx-linux.git [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 Cc: "John W. Linville" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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) spin_lock_irqsave(&mac->lock, flags); mac->associnfo.associating = 1; - schedule_work(&mac->associnfo.work); + schedule_delayed_work(&mac->associnfo.work, 0); spin_unlock_irqrestore(&mac->lock, flags); }