|
@@ -4460,12 +4460,12 @@ il4965_irq_tasklet(struct il_priv *il)
|
|
|
* is killed. Hence update the killswitch state here. The
|
|
|
* rfkill handler will care about restarting if needed.
|
|
|
*/
|
|
|
- if (!test_bit(S_ALIVE, &il->status)) {
|
|
|
- if (hw_rf_kill)
|
|
|
- set_bit(S_RFKILL, &il->status);
|
|
|
- else
|
|
|
- clear_bit(S_RFKILL, &il->status);
|
|
|
+ if (hw_rf_kill) {
|
|
|
+ set_bit(S_RFKILL, &il->status);
|
|
|
+ } else {
|
|
|
+ clear_bit(S_RFKILL, &il->status);
|
|
|
wiphy_rfkill_set_hw_state(il->hw->wiphy, hw_rf_kill);
|
|
|
+ il_force_reset(il, true);
|
|
|
}
|
|
|
|
|
|
handled |= CSR_INT_BIT_RF_KILL;
|