aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-agn.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c
index 06e268245077..cc4b6eba8a11 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn.c
@@ -1402,8 +1402,11 @@ static void iwl_irq_tasklet(struct iwl_priv *priv)
1402 * the driver as well won't allow loading if RFKILL is set 1402 * the driver as well won't allow loading if RFKILL is set
1403 * therefore no need to restart the driver from this handler 1403 * therefore no need to restart the driver from this handler
1404 */ 1404 */
1405 if (!hw_rf_kill && !test_bit(STATUS_ALIVE, &priv->status)) 1405 if (!hw_rf_kill && !test_bit(STATUS_ALIVE, &priv->status)) {
1406 clear_bit(STATUS_RF_KILL_HW, &priv->status); 1406 clear_bit(STATUS_RF_KILL_HW, &priv->status);
1407 if (priv->is_open && !iwl_is_rfkill(priv))
1408 queue_work(priv->workqueue, &priv->up);
1409 }
1407 1410
1408 handled |= CSR_INT_BIT_RF_KILL; 1411 handled |= CSR_INT_BIT_RF_KILL;
1409 } 1412 }