diff options
author | Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com> | 2012-08-29 10:10:28 -0400 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2012-10-24 04:49:49 -0400 |
commit | 77565794eb69cf73a5808c04b01bc2a97ebf32d3 (patch) | |
tree | 82b6fceaff494c97b448be9b1a506c7157baf36c /drivers/net/wireless/ath/ath6kl/recovery.c | |
parent | 9233299394de1c571e52ab2dbe1995c1fbdc8fda (diff) |
ath6kl: Recover from "wmi ctrl ep is full" condition
In some error conditions, fw pauses HTC pipes which would
result in control endpoint full condition. When we hit this
case, most of the time the device will be unusable. Re-initialize
the target to recover from this situation.
Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/recovery.c')
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/recovery.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/recovery.c b/drivers/net/wireless/ath/ath6kl/recovery.c index 4e3f205bb8a0..03edeb8c2ce3 100644 --- a/drivers/net/wireless/ath/ath6kl/recovery.c +++ b/drivers/net/wireless/ath/ath6kl/recovery.c | |||
@@ -30,6 +30,8 @@ static void ath6kl_recovery_work(struct work_struct *work) | |||
30 | ath6kl_init_hw_restart(ar); | 30 | ath6kl_init_hw_restart(ar); |
31 | 31 | ||
32 | ar->state = ATH6KL_STATE_ON; | 32 | ar->state = ATH6KL_STATE_ON; |
33 | clear_bit(WMI_CTRL_EP_FULL, &ar->flag); | ||
34 | |||
33 | ar->fw_recovery.err_reason = 0; | 35 | ar->fw_recovery.err_reason = 0; |
34 | 36 | ||
35 | if (ar->fw_recovery.enable) | 37 | if (ar->fw_recovery.enable) |