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 ecf5c9b90089978c53a51105ad5cbba734c2ca30..25fb3912342ceff334f6c2d82cb61defc5b0ee75 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);
This page took 0.028942 seconds and 5 git commands to generate.