Skip to contentSkip to conversation

WorkStruct: Fix ieee80211-softmac compile problem

PATCH New David Howells 1 participant 1 message Dec 8, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 WorkStruct: Fix ieee80211-softmac compile problem

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

---

 net/ieee80211/softmac/ieee80211softmac_assoc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
net/ieee80211/softmac/ieee80211softmac_assoc.c +1 -1
index eec1a1d..e3f37fd 100644
@@ -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);
 }