From: James Minor Date: Mon, 3 Oct 2016 18:00:03 +0000 (-0500) Subject: ath6kl: after cleanup properly reflect that sg is disabled X-Git-Tag: v4.10-rc1~202^2~178^2~63^2~4 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=db14b18a73a1ceaac96124e7918aa9e484f80dbb;p=karo-tx-linux.git 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 Reviewed-by: Steve deRosier Signed-off-by: Kalle Valo --- 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 */