Skip to content

Commit 6f30590

Browse files
committed
Revert "iwlwifi: fix "MAC in deep sleep" error"
This reverts commit 49f606b.
1 parent f0ba2af commit 6f30590

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/net/wireless/iwlwifi/iwl-4965.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -482,11 +482,11 @@ static int iwl4965_apm_reset(struct iwl_priv *priv)
482482

483483
iwl_set_bit(priv, CSR_GP_CNTRL, CSR_GP_CNTRL_REG_FLAG_INIT_DONE);
484484

485-
ret = iwl_poll_bit(priv, CSR_GP_CNTRL,
485+
ret = iwl_poll_bit(priv, CSR_RESET,
486486
CSR_GP_CNTRL_REG_FLAG_MAC_CLOCK_READY,
487-
CSR_GP_CNTRL_REG_FLAG_MAC_CLOCK_READY, 25000);
487+
CSR_GP_CNTRL_REG_FLAG_MAC_CLOCK_READY, 25);
488488

489-
if (ret < 0)
489+
if (ret)
490490
goto out;
491491

492492
udelay(10);

0 commit comments

Comments
 (0)