Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 46e7741e authored by Wey-Yi Guy's avatar Wey-Yi Guy Committed by John W. Linville
Browse files

iwlagn: check rf kill in queue stuck



check the RF KILL flag in queue stuck watch dog function

Signed-off-by: default avatarWey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 317d09f7
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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;