]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
iwlagn: send beacon before committing associated RXON
authorJohannes Berg <johannes.berg@intel.com>
Mon, 23 Aug 2010 08:46:53 +0000 (10:46 +0200)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Fri, 27 Aug 2010 16:30:20 +0000 (09:30 -0700)
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>
drivers/net/wireless/iwlwifi/iwl-agn.c

index 79aff1fb85a12a74be9f3ad989e3591c2dca8425..8e072283041330a0e341eaab9fd6c55e038f007c 100644 (file)
@@ -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);