ath6kl: after cleanup properly reflect that sg is disabled
authorJames Minor <james.minor@ni.com>
Mon, 3 Oct 2016 18:00:03 +0000 (13:00 -0500)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 6 Oct 2016 07:14:41 +0000 (10:14 +0300)
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>
drivers/net/wireless/ath/ath6kl/sdio.c

index 96ed060..8261e24 100644 (file)
@@ -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 */