提交 46e7741e 编写于 作者: W Wey-Yi Guy 提交者: John W. Linville

iwlagn: check rf kill in queue stuck

check the RF KILL flag in queue stuck watch dog function
Signed-off-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 317d09f7
...@@ -1781,6 +1781,9 @@ void iwl_bg_watchdog(unsigned long data) ...@@ -1781,6 +1781,9 @@ void iwl_bg_watchdog(unsigned long data)
if (test_bit(STATUS_EXIT_PENDING, &priv->shrd->status)) if (test_bit(STATUS_EXIT_PENDING, &priv->shrd->status))
return; return;
if (iwl_is_rfkill(priv->shrd))
return;
timeout = priv->cfg->base_params->wd_timeout; timeout = priv->cfg->base_params->wd_timeout;
if (timeout == 0) if (timeout == 0)
return; return;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册