]> err.no Git - linux-2.6/commitdiff
[PATCH] softmac: try to reassociate when being disassociated from the AP
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 10 Jan 2006 14:47:06 +0000 (15:47 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 23 Mar 2006 03:16:53 +0000 (22:16 -0500)
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/ieee80211/softmac/ieee80211softmac_assoc.c

index 085022fd23c0c3084ce45f6acf1ede873ae8dfb5..1b02dddda1f7ea83f3dcbe71e295f52bfccecd0f 100644 (file)
@@ -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;