From: Johannes Berg Date: Tue, 10 Jan 2006 14:47:06 +0000 (+0100) Subject: [PATCH] softmac: try to reassociate when being disassociated from the AP X-Git-Tag: v2.6.17-rc1~994^2~12^2~16 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1469cf2c79f1682364d5c37d752cd3a3018cbaa;p=linux-2.6 [PATCH] softmac: try to reassociate when being disassociated from the AP Signed-off-by: John W. Linville --- diff --git a/net/ieee80211/softmac/ieee80211softmac_assoc.c b/net/ieee80211/softmac/ieee80211softmac_assoc.c index 085022fd23..1b02dddda1 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;