summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2010-10-07 03:52:35 -0700
committerWey-Yi Guy <wey-yi.w.guy@intel.com>2010-10-14 09:47:27 -0700
commit657e11a47dede79cae1d2f72084f6f7303aec725 (patch)
treec58e63422ba9d05e90b9945018bb3ec226b1e7fc
parentdacefedb34e538e9934556ffe5eaad177e7a9718 (diff)
downloadop-kernel-dev-657e11a47dede79cae1d2f72084f6f7303aec725.zip
op-kernel-dev-657e11a47dede79cae1d2f72084f6f7303aec725.tar.gz
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 <johannes.berg@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.c b/drivers/net/wireless/iwlwifi/iwl-core.c
index ecf5c9b..25fb391 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);
OpenPOWER on IntegriCloud