diff options
author | Johannes Berg <johannes.berg@intel.com> | 2010-08-23 10:46:53 +0200 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2010-08-27 09:30:20 -0700 |
commit | 08abc53cf4f7547ab3bc3957bc6e60c364a882c3 (patch) | |
tree | 76664c32b6378a73d7e978a5f40433dcf885e701 | |
parent | 2491fa42d9bdf26075765db5d091b5d7225ca636 (diff) | |
download | op-kernel-dev-08abc53cf4f7547ab3bc3957bc6e60c364a882c3.zip op-kernel-dev-08abc53cf4f7547ab3bc3957bc6e60c364a882c3.tar.gz |
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 79aff1f..8e07228 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) ctx->staging.flags &= ~RXON_FLG_SHORT_SLOT_MSK; } + /* need to send beacon cmd before committing assoc RXON! */ + iwl_send_beacon_cmd(priv); /* restore RXON assoc */ ctx->staging.filter_flags |= RXON_FILTER_ASSOC_MSK; iwlcore_commit_rxon(priv, ctx); |