diff options
author | Kalle Valo <kvalo@qca.qualcomm.com> | 2011-12-13 16:51:37 +0400 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2011-12-13 17:03:46 +0400 |
commit | 7125f01d98ed75028ead5b335ec32e6e501cd19b (patch) | |
tree | 0b6fdd849ac6e4664db065478d1a71a4fbf8d56e /drivers/net/wireless/ath/ath6kl/main.c | |
parent | ed8491a796558067200ae8a66570c83cb03cbd16 (diff) | |
download | linux-7125f01d98ed75028ead5b335ec32e6e501cd19b.tar.xz |
ath6kl: implement ath6kl_cfg80211_stop_all()
During suspend we need to stop all vifs, not just the first.
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/main.c')
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/main.c b/drivers/net/wireless/ath/ath6kl/main.c index 1590182812b2..eea3c747653e 100644 --- a/drivers/net/wireless/ath/ath6kl/main.c +++ b/drivers/net/wireless/ath/ath6kl/main.c @@ -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); |