Skip to content

Commit

Permalink
iwlagn: check rf kill in queue stuck
Browse files Browse the repository at this point in the history
check the RF KILL flag in queue stuck watch dog function

Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Wey-Yi Guy authored and John W. Linville committed Oct 14, 2011
1 parent 317d09f commit 46e7741
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/net/wireless/iwlwifi/iwl-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1781,6 +1781,9 @@ void iwl_bg_watchdog(unsigned long data)
if (test_bit(STATUS_EXIT_PENDING, &priv->shrd->status))
return;

if (iwl_is_rfkill(priv->shrd))
return;

timeout = priv->cfg->base_params->wd_timeout;
if (timeout == 0)
return;
Expand Down

0 comments on commit 46e7741

Please sign in to comment.