[PATCH] WorkStruct: Fix ieee80211-softmac compile problem

From: David Howells
Date: Fri Dec 08 2006 - 10:30:10 EST


Fix ieee80211-softmac compile problem where it's using schedule_work() on a
delayed_work struct.

Signed-Off-By: David Howells <dhowells@xxxxxxxxxx>
---

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 eec1a1d..e3f37fd 100644
--- a/net/ieee80211/softmac/ieee80211softmac_assoc.c
+++ b/net/ieee80211/softmac/ieee80211softmac_assoc.c
@@ -438,7 +438,7 @@ ieee80211softmac_try_reassoc(struct ieee

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);
}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/