]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/net/wireless/ath/ath6kl/main.c
ath6kl: implement ath6kl_cfg80211_stop_all()
[karo-tx-linux.git] / drivers / net / wireless / ath / ath6kl / main.c
index 1590182812b25c9be154f408bef55768aa5c2811..eea3c747653ed327ddb03a14ac12cbdf4c0b34f1 100644 (file)
@@ -1002,12 +1002,11 @@ static int ath6kl_open(struct net_device *dev)
 
 static int ath6kl_close(struct net_device *dev)
 {
-       struct ath6kl *ar = ath6kl_priv(dev);
        struct ath6kl_vif *vif = netdev_priv(dev);
 
        netif_stop_queue(dev);
 
-       ath6kl_cfg80211_stop(ar);
+       ath6kl_cfg80211_stop(vif);
 
        clear_bit(WLAN_ENABLED, &vif->flags);