diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2006-01-06 12:11:23 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2006-03-22 22:16:52 -0500 |
commit | 2dd50801b3ac95988bd5789e4ec576f3480ecc59 (patch) | |
tree | 462bcac55a35cc701f7e56000df433bdaba270ee /net/ieee80211/softmac/ieee80211softmac_auth.c | |
parent | 5c4df6da580b9317dc0856e235232b95cbc8251c (diff) |
[PATCH] softmac: correctly use netif_carrier_{on,off}
TODO: add callbacks for ifup/ifdown (see mailing list)
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/ieee80211/softmac/ieee80211softmac_auth.c')
-rw-r--r-- | net/ieee80211/softmac/ieee80211softmac_auth.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ieee80211/softmac/ieee80211softmac_auth.c b/net/ieee80211/softmac/ieee80211softmac_auth.c index 5a773528110f..6eab2be91870 100644 --- a/net/ieee80211/softmac/ieee80211softmac_auth.c +++ b/net/ieee80211/softmac/ieee80211softmac_auth.c | |||
@@ -278,6 +278,8 @@ ieee80211softmac_deauth_from_net(struct ieee80211softmac_device *mac, | |||
278 | kfree(net->challenge); | 278 | kfree(net->challenge); |
279 | kfree(net); | 279 | kfree(net); |
280 | 280 | ||
281 | /* can't transmit data right now... */ | ||
282 | netif_carrier_off(mac->dev); | ||
281 | /* let's try to re-associate */ | 283 | /* let's try to re-associate */ |
282 | schedule_work(&mac->associnfo.work); | 284 | schedule_work(&mac->associnfo.work); |
283 | spin_unlock_irqrestore(&mac->lock, flags); | 285 | spin_unlock_irqrestore(&mac->lock, flags); |