aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2006-01-10 09:47:06 -0500
committerJohn W. Linville <linville@tuxdriver.com>2006-03-22 22:16:53 -0500
commitd1469cf2c79f1682364d5c37d752cd3a3018cbaa (patch)
tree683daaf696271d4b355dd7880b29306e3f452049
parent2dd50801b3ac95988bd5789e4ec576f3480ecc59 (diff)
[PATCH] softmac: try to reassociate when being disassociated from the AP
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--net/ieee80211/softmac/ieee80211softmac_assoc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ieee80211/softmac/ieee80211softmac_assoc.c b/net/ieee80211/softmac/ieee80211softmac_assoc.c
index 085022fd23c0..1b02dddda1f7 100644
--- a/net/ieee80211/softmac/ieee80211softmac_assoc.c
+++ b/net/ieee80211/softmac/ieee80211softmac_assoc.c
@@ -350,6 +350,7 @@ ieee80211softmac_handle_disassoc(struct net_device * dev,
350 spin_lock_irqsave(&mac->lock, flags); 350 spin_lock_irqsave(&mac->lock, flags);
351 mac->associnfo.bssvalid = 0; 351 mac->associnfo.bssvalid = 0;
352 mac->associated = 0; 352 mac->associated = 0;
353 schedule_work(&mac->associnfo.work);
353 spin_unlock_irqrestore(&mac->lock, flags); 354 spin_unlock_irqrestore(&mac->lock, flags);
354 355
355 return 0; 356 return 0;