summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2006-01-10 14:47:06 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2006-03-23 03:16:53 (GMT)
commitd1469cf2c79f1682364d5c37d752cd3a3018cbaa (patch)
tree683daaf696271d4b355dd7880b29306e3f452049
parent2dd50801b3ac95988bd5789e4ec576f3480ecc59 (diff)
downloadlinux-fsl-qoriq-d1469cf2c79f1682364d5c37d752cd3a3018cbaa.tar.xz
[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 085022f..1b02ddd 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,
spin_lock_irqsave(&mac->lock, flags);
mac->associnfo.bssvalid = 0;
mac->associated = 0;
+ schedule_work(&mac->associnfo.work);
spin_unlock_irqrestore(&mac->lock, flags);
return 0;