From: Johannes Berg Date: Thu, 7 Oct 2010 10:52:35 +0000 (-0700) Subject: iwlwifi: blink LED in IBSS mode X-Git-Tag: MMI-PSA29.97-13-9~21994^2~78^2^2~20 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=657e11a47dede79cae1d2f72084f6f7303aec725;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git iwlwifi: blink LED in IBSS mode We recently found that contrary to expectations, the LED is not blinking in IBSS mode. Fix this. Signed-off-by: Johannes Berg Signed-off-by: Wey-Yi Guy --- diff --git a/drivers/net/wireless/iwlwifi/iwl-core.c b/drivers/net/wireless/iwlwifi/iwl-core.c index ecf5c9b90089..25fb3912342c 100644 --- a/drivers/net/wireless/iwlwifi/iwl-core.c +++ b/drivers/net/wireless/iwlwifi/iwl-core.c @@ -1727,6 +1727,7 @@ void iwl_bss_info_changed(struct ieee80211_hw *hw, memcpy(ctx->staging.bssid_addr, bss_conf->bssid, ETH_ALEN); memcpy(priv->bssid, bss_conf->bssid, ETH_ALEN); + iwl_led_associate(priv); iwlcore_config_ap(priv, vif); } else iwl_set_no_assoc(priv, vif);