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

Commit 808e72a0 authored by Zhu Yi's avatar Zhu Yi Committed by John W. Linville
Browse files

iwlwifi: fix software rf_kill problem when interface is down



The patch fixes the problem that software rf_kill messes up the
card status when it is disabled if the interface is down.

Signed-off-by: default avatarZhu Yi <yi.zhu@intel.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 95483b69
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2875,6 +2875,7 @@ static void iwl3945_radio_kill_sw(struct iwl3945_priv *priv, int disable_radio)
		return;
	}

	if (priv->is_open)
		queue_work(priv->workqueue, &priv->restart);
	return;
}
+2 −1
Original line number Diff line number Diff line
@@ -970,6 +970,7 @@ int iwl4965_radio_kill_sw(struct iwl_priv *priv, int disable_radio)
		return 0;
	}

	if (priv->is_open)
		queue_work(priv->workqueue, &priv->restart);
	return 1;
}