浏览代码

[PATCH] softmac: try to reassociate when being disassociated from the AP

Signed-off-by: John W. Linville <linville@tuxdriver.com>
Johannes Berg 19 年之前
父节点
当前提交
d1469cf2c7
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      net/ieee80211/softmac/ieee80211softmac_assoc.c

+ 1 - 0
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;