diff options
author | Zhu Yi <yi.zhu@intel.com> | 2007-09-26 23:27:32 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:53:20 -0400 |
commit | e1493deb74d22b005769e6ecbd24a00106941c6c (patch) | |
tree | ea73f7ef8d00b582210f112aac8f94fc01cd22c4 /drivers | |
parent | cfe01709871cccf711c70a970bfc1a8d7bd13f84 (diff) |
[PATCH] iwlwifi: Correction for sending beacon in config_ap
This patch takes out sending beacon from conditional in
config_ap function.
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl4965-base.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl4965-base.c b/drivers/net/wireless/iwlwifi/iwl4965-base.c index db4d82785a65..fac130d0e9e5 100644 --- a/drivers/net/wireless/iwlwifi/iwl4965-base.c +++ b/drivers/net/wireless/iwlwifi/iwl4965-base.c | |||
@@ -7493,9 +7493,8 @@ static void iwl_config_ap(struct iwl_priv *priv) | |||
7493 | iwl_activate_qos(priv, 1); | 7493 | iwl_activate_qos(priv, 1); |
7494 | #endif | 7494 | #endif |
7495 | iwl_rxon_add_station(priv, BROADCAST_ADDR, 0); | 7495 | iwl_rxon_add_station(priv, BROADCAST_ADDR, 0); |
7496 | iwl_send_beacon_cmd(priv); | 7496 | } |
7497 | } else | 7497 | iwl_send_beacon_cmd(priv); |
7498 | iwl_send_beacon_cmd(priv); | ||
7499 | 7498 | ||
7500 | /* FIXME - we need to add code here to detect a totally new | 7499 | /* FIXME - we need to add code here to detect a totally new |
7501 | * configuration, reset the AP, unassoc, rxon timing, assoc, | 7500 | * configuration, reset the AP, unassoc, rxon timing, assoc, |