diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c index c6e455e8845a..5b96b0d80091 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn.c | |||
@@ -2717,6 +2717,8 @@ static void iwl_alive_start(struct iwl_priv *priv) | |||
2717 | 2717 | ||
2718 | iwl_reset_run_time_calib(priv); | 2718 | iwl_reset_run_time_calib(priv); |
2719 | 2719 | ||
2720 | set_bit(STATUS_READY, &priv->status); | ||
2721 | |||
2720 | /* Configure the adapter for unassociated operation */ | 2722 | /* Configure the adapter for unassociated operation */ |
2721 | iwlcore_commit_rxon(priv, ctx); | 2723 | iwlcore_commit_rxon(priv, ctx); |
2722 | 2724 | ||
@@ -2726,7 +2728,6 @@ static void iwl_alive_start(struct iwl_priv *priv) | |||
2726 | iwl_leds_init(priv); | 2728 | iwl_leds_init(priv); |
2727 | 2729 | ||
2728 | IWL_DEBUG_INFO(priv, "ALIVE processing complete.\n"); | 2730 | IWL_DEBUG_INFO(priv, "ALIVE processing complete.\n"); |
2729 | set_bit(STATUS_READY, &priv->status); | ||
2730 | wake_up_interruptible(&priv->wait_command_queue); | 2731 | wake_up_interruptible(&priv->wait_command_queue); |
2731 | 2732 | ||
2732 | iwl_power_update_mode(priv, true); | 2733 | iwl_power_update_mode(priv, true); |