aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath6kl
diff options
context:
space:
mode:
authorJames Minor <james.minor@ni.com>2016-10-03 13:00:03 -0500
committerKalle Valo <kvalo@qca.qualcomm.com>2016-10-06 10:14:41 +0300
commitdb14b18a73a1ceaac96124e7918aa9e484f80dbb (patch)
tree20828d864c2bd649283c0f5e398950a81f4f64c4 /drivers/net/wireless/ath/ath6kl
parentath6kl: fix busreqs so they can be reused when sg is cleaned up (diff)
downloadlinux-dev-db14b18a73a1ceaac96124e7918aa9e484f80dbb.tar.xz
linux-dev-db14b18a73a1ceaac96124e7918aa9e484f80dbb.zip
ath6kl: after cleanup properly reflect that sg is disabled
This allows the hardware to be restarted, as it will cause the sg to be reinitialized. Signed-off-by: James Minor <james.minor@ni.com> Reviewed-by: Steve deRosier <steve.derosier@lairdtech.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl')
-rw-r--r--drivers/net/wireless/ath/ath6kl/sdio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/sdio.c b/drivers/net/wireless/ath/ath6kl/sdio.c
index 96ed0604b4e0..8261e242fd1e 100644
--- a/drivers/net/wireless/ath/ath6kl/sdio.c
+++ b/drivers/net/wireless/ath/ath6kl/sdio.c
@@ -714,6 +714,8 @@ static void ath6kl_sdio_cleanup_scatter(struct ath6kl *ar)
spin_lock_bh(&ar_sdio->scat_lock);
}
spin_unlock_bh(&ar_sdio->scat_lock);
+
+ ar_sdio->scatter_enabled = false;
}
/* setup of HIF scatter resources */