aboutsummaryrefslogtreecommitdiffstats
path: root/net/ieee80211/softmac/ieee80211softmac_auth.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ieee80211/softmac/ieee80211softmac_auth.c')
-rw-r--r--net/ieee80211/softmac/ieee80211softmac_auth.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/ieee80211/softmac/ieee80211softmac_auth.c b/net/ieee80211/softmac/ieee80211softmac_auth.c
index 9a0eac6c61eb..d6a04f3ab86c 100644
--- a/net/ieee80211/softmac/ieee80211softmac_auth.c
+++ b/net/ieee80211/softmac/ieee80211softmac_auth.c
@@ -298,8 +298,6 @@ ieee80211softmac_deauth_from_net(struct ieee80211softmac_device *mac,
298 298
299 /* can't transmit data right now... */ 299 /* can't transmit data right now... */
300 netif_carrier_off(mac->dev); 300 netif_carrier_off(mac->dev);
301 /* let's try to re-associate */
302 schedule_work(&mac->associnfo.work);
303 spin_unlock_irqrestore(&mac->lock, flags); 301 spin_unlock_irqrestore(&mac->lock, flags);
304} 302}
305 303
@@ -360,5 +358,8 @@ ieee80211softmac_deauth_resp(struct net_device *dev, struct ieee80211_deauth *de
360 } 358 }
361 359
362 ieee80211softmac_deauth_from_net(mac, net); 360 ieee80211softmac_deauth_from_net(mac, net);
361
362 /* let's try to re-associate */
363 schedule_work(&mac->associnfo.work);
363 return 0; 364 return 0;
364} 365}