Commit 586e45e3 authored by Stanislaw Gruszka's avatar Stanislaw Gruszka Committed by John W. Linville

iwlegacy: check correct il_poll_bit error value

Signed-off-by: default avatarStanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 775ed8ab
...@@ -4136,7 +4136,7 @@ _il_apm_stop_master(struct il_priv *il) ...@@ -4136,7 +4136,7 @@ _il_apm_stop_master(struct il_priv *il)
ret = ret =
_il_poll_bit(il, CSR_RESET, CSR_RESET_REG_FLAG_MASTER_DISABLED, _il_poll_bit(il, CSR_RESET, CSR_RESET_REG_FLAG_MASTER_DISABLED,
CSR_RESET_REG_FLAG_MASTER_DISABLED, 100); CSR_RESET_REG_FLAG_MASTER_DISABLED, 100);
if (ret) if (ret < 0)
IL_WARN("Master Disable Timed Out, 100 usec\n"); IL_WARN("Master Disable Timed Out, 100 usec\n");
D_INFO("stop master\n"); D_INFO("stop master\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment