X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=net%2Fieee80211%2Fsoftmac%2Fieee80211softmac_wx.c;fp=net%2Fieee80211%2Fsoftmac%2Fieee80211softmac_wx.c;h=5b7b5b41554dfc8a1b094e671a15ddecbf5b3529;hb=cc8ce997d2a4e524b1acea44beaf5bcfefdb1bfe;hp=23068a830f7dba7916c0380ef1767758d1f95815;hpb=2b50c24554d31c2db2f93b1151b5991e62f96594;p=linux-2.6-omap-h63xx.git diff --git a/net/ieee80211/softmac/ieee80211softmac_wx.c b/net/ieee80211/softmac/ieee80211softmac_wx.c index 23068a830f7..5b7b5b41554 100644 --- a/net/ieee80211/softmac/ieee80211softmac_wx.c +++ b/net/ieee80211/softmac/ieee80211softmac_wx.c @@ -495,7 +495,8 @@ ieee80211softmac_wx_set_mlme(struct net_device *dev, printk(KERN_DEBUG PFX "wx_set_mlme: we should know the net here...\n"); goto out; } - return ieee80211softmac_deauth_req(mac, net, reason); + err = ieee80211softmac_deauth_req(mac, net, reason); + goto out; case IW_MLME_DISASSOC: ieee80211softmac_send_disassoc_req(mac, reason); mac->associnfo.associated = 0;