diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl4965-base.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl4965-base.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl4965-base.c b/drivers/net/wireless/iwlwifi/iwl4965-base.c index 0eb4220f035f..dae881e47293 100644 --- a/drivers/net/wireless/iwlwifi/iwl4965-base.c +++ b/drivers/net/wireless/iwlwifi/iwl4965-base.c | |||
@@ -2427,7 +2427,8 @@ void iwl4965_radio_kill_sw(struct iwl_priv *priv, int disable_radio) | |||
2427 | CSR_UCODE_SW_BIT_RFKILL); | 2427 | CSR_UCODE_SW_BIT_RFKILL); |
2428 | spin_unlock_irqrestore(&priv->lock, flags); | 2428 | spin_unlock_irqrestore(&priv->lock, flags); |
2429 | /* call the host command only if no hw rf-kill set */ | 2429 | /* call the host command only if no hw rf-kill set */ |
2430 | if (!test_bit(STATUS_RF_KILL_HW, &priv->status)) | 2430 | if (!test_bit(STATUS_RF_KILL_HW, &priv->status) && |
2431 | iwl_is_ready(priv)) | ||
2431 | iwl4965_send_card_state(priv, | 2432 | iwl4965_send_card_state(priv, |
2432 | CARD_STATE_CMD_DISABLE, | 2433 | CARD_STATE_CMD_DISABLE, |
2433 | 0); | 2434 | 0); |