iwlwifi: blink LED in IBSS mode
authorJohannes Berg <johannes.berg@intel.com>
Thu, 7 Oct 2010 10:52:35 +0000 (03:52 -0700)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Thu, 14 Oct 2010 16:47:27 +0000 (09:47 -0700)
We recently found that contrary to expectations,
the LED is not blinking in IBSS mode. Fix this.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-core.c

index ecf5c9b..25fb391 100644 (file)
@@ -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);