diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-legacy.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-legacy.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-legacy.c b/drivers/net/wireless/iwlwifi/iwl-legacy.c index bb1a742a98a0..927fe37a43ab 100644 --- a/drivers/net/wireless/iwlwifi/iwl-legacy.c +++ b/drivers/net/wireless/iwlwifi/iwl-legacy.c | |||
@@ -332,7 +332,6 @@ static inline void iwl_set_no_assoc(struct iwl_priv *priv, | |||
332 | { | 332 | { |
333 | struct iwl_rxon_context *ctx = iwl_rxon_ctx_from_vif(vif); | 333 | struct iwl_rxon_context *ctx = iwl_rxon_ctx_from_vif(vif); |
334 | 334 | ||
335 | iwl_led_disassociate(priv); | ||
336 | /* | 335 | /* |
337 | * inform the ucode that there is no longer an | 336 | * inform the ucode that there is no longer an |
338 | * association and that no more packets should be | 337 | * association and that no more packets should be |
@@ -520,8 +519,6 @@ void iwl_legacy_mac_bss_info_changed(struct ieee80211_hw *hw, | |||
520 | if (bss_conf->assoc) { | 519 | if (bss_conf->assoc) { |
521 | priv->timestamp = bss_conf->timestamp; | 520 | priv->timestamp = bss_conf->timestamp; |
522 | 521 | ||
523 | iwl_led_associate(priv); | ||
524 | |||
525 | if (!iwl_is_rfkill(priv)) | 522 | if (!iwl_is_rfkill(priv)) |
526 | priv->cfg->ops->legacy->post_associate(priv); | 523 | priv->cfg->ops->legacy->post_associate(priv); |
527 | } else | 524 | } else |
@@ -545,7 +542,6 @@ void iwl_legacy_mac_bss_info_changed(struct ieee80211_hw *hw, | |||
545 | memcpy(ctx->staging.bssid_addr, | 542 | memcpy(ctx->staging.bssid_addr, |
546 | bss_conf->bssid, ETH_ALEN); | 543 | bss_conf->bssid, ETH_ALEN); |
547 | memcpy(priv->bssid, bss_conf->bssid, ETH_ALEN); | 544 | memcpy(priv->bssid, bss_conf->bssid, ETH_ALEN); |
548 | iwl_led_associate(priv); | ||
549 | priv->cfg->ops->legacy->config_ap(priv); | 545 | priv->cfg->ops->legacy->config_ap(priv); |
550 | } else | 546 | } else |
551 | iwl_set_no_assoc(priv, vif); | 547 | iwl_set_no_assoc(priv, vif); |