diff options
author | Raja Mani <rmani@qca.qualcomm.com> | 2011-11-07 15:52:46 -0500 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2011-11-11 06:00:00 -0500 |
commit | 0737237411235d7c48a993a62de01257cc4b004d (patch) | |
tree | a69bc7774d887d2f47fdc7845b6b49793e9fd69b /drivers/net/wireless/ath/ath6kl/sdio.c | |
parent | a918fb3cc6a58f918f36348c43c3170bb88bc599 (diff) |
ath6kl: Remove WARN_ON msg in Suspend path
In the current code, WOW resume is executed first from RX path
and ar->state is moved to ATH6KL_STATE_ON. When platform calls
ath6kl_sdio_resume() in CFG resume context, that time ar->state
could have moved to ON state. Printing WARN_ON(1) is void in
this context. Hence removing this.
Once WOW resume is removed from RX path, This WARN_ON msg can be
reverted.
Signed-off-by: Raja Mani <rmani@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/sdio.c')
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/sdio.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/sdio.c b/drivers/net/wireless/ath/ath6kl/sdio.c index 0586b3b3ab54..beb5f9bf26af 100644 --- a/drivers/net/wireless/ath/ath6kl/sdio.c +++ b/drivers/net/wireless/ath/ath6kl/sdio.c | |||
@@ -831,8 +831,6 @@ static int ath6kl_sdio_resume(struct ath6kl *ar) | |||
831 | break; | 831 | break; |
832 | 832 | ||
833 | case ATH6KL_STATE_ON: | 833 | case ATH6KL_STATE_ON: |
834 | /* we shouldn't be on this state during resume */ | ||
835 | WARN_ON(1); | ||
836 | break; | 834 | break; |
837 | 835 | ||
838 | case ATH6KL_STATE_DEEPSLEEP: | 836 | case ATH6KL_STATE_DEEPSLEEP: |