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.14-rc1~1973^2~118^2~104^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=db14b18a73a1ceaac96124e7918aa9e484f80dbb;p=platform%2Fkernel%2Flinux-rpi3.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 96ed060..8261e24 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 */