aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl3945-base.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl3945-base.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl3945-base.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c
index 7e3e5bfed681..ed5e625fe4e5 100644
--- a/drivers/net/wireless/iwlwifi/iwl3945-base.c
+++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c
@@ -6339,10 +6339,9 @@ static void iwl3945_post_associate(struct iwl3945_priv *priv)
6339 if (test_bit(STATUS_EXIT_PENDING, &priv->status)) 6339 if (test_bit(STATUS_EXIT_PENDING, &priv->status))
6340 return; 6340 return;
6341 6341
6342 if (!priv->vif || !priv->is_open) { 6342 if (!priv->vif || !priv->is_open)
6343 mutex_unlock(&priv->mutex);
6344 return; 6343 return;
6345 } 6344
6346 iwl3945_scan_cancel_timeout(priv, 200); 6345 iwl3945_scan_cancel_timeout(priv, 200);
6347 6346
6348 conf = ieee80211_get_hw_conf(priv->hw); 6347 conf = ieee80211_get_hw_conf(priv->hw);