ath9k_hw: Fix regression in device reset
PATCH 1/1 ath9k_hw: Fix regression in device reset
From: Sujith Manoharan <[email protected]>
Commit "ath9k: improve suspend/resume reliability" broke ath9k_htc and bringing up the device would hang indefinitely. Fix this.
Signed-off-by Sujith Manoharan <[email protected]>
--- drivers/net/wireless/ath/ath9k/hw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/ath/ath9k/hw.c +1 -1
@@ -1456,7 +1456,7 @@ static bool ath9k_hw_set_reset_reg(struct ath_hw *ah, u32 type)switch (type) {case ATH9K_RESET_POWER_ON : ret =ath9k_hw_set_reset_power_on (ah); -if (!ret) +if (ret) ah->reset_power_on = true;break ;case ATH9K_RESET_WARM :
Signature · 1 line
1.8.0