diff options
author | Johannes Berg <johannes.berg@intel.com> | 2010-08-23 04:46:53 -0400 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2010-08-27 12:30:20 -0400 |
commit | 08abc53cf4f7547ab3bc3957bc6e60c364a882c3 (patch) | |
tree | 76664c32b6378a73d7e978a5f40433dcf885e701 | |
parent | 2491fa42d9bdf26075765db5d091b5d7225ca636 (diff) |
iwlagn: send beacon before committing associated RXON
Newer AGN microcode requires know the beacon
before starting the AP so that it can start
beaconing right away. Implement that.
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-agn.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c index 79aff1fb85a1..8e0722830413 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn.c | |||
@@ -3559,6 +3559,8 @@ void iwl_config_ap(struct iwl_priv *priv, struct ieee80211_vif *vif) | |||
3559 | ctx->staging.flags &= | 3559 | ctx->staging.flags &= |
3560 | ~RXON_FLG_SHORT_SLOT_MSK; | 3560 | ~RXON_FLG_SHORT_SLOT_MSK; |
3561 | } | 3561 | } |
3562 | /* need to send beacon cmd before committing assoc RXON! */ | ||
3563 | iwl_send_beacon_cmd(priv); | ||
3562 | /* restore RXON assoc */ | 3564 | /* restore RXON assoc */ |
3563 | ctx->staging.filter_flags |= RXON_FILTER_ASSOC_MSK; | 3565 | ctx->staging.filter_flags |= RXON_FILTER_ASSOC_MSK; |
3564 | iwlcore_commit_rxon(priv, ctx); | 3566 | iwlcore_commit_rxon(priv, ctx); |