summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorZhu Yi <yi.zhu@intel.com>2007-09-27 11:27:32 +0800
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 16:53:20 -0700
commite1493deb74d22b005769e6ecbd24a00106941c6c (patch)
treeea73f7ef8d00b582210f112aac8f94fc01cd22c4 /drivers
parentcfe01709871cccf711c70a970bfc1a8d7bd13f84 (diff)
downloadlinux-3.10-e1493deb74d22b005769e6ecbd24a00106941c6c.tar.gz
linux-3.10-e1493deb74d22b005769e6ecbd24a00106941c6c.tar.bz2
linux-3.10-e1493deb74d22b005769e6ecbd24a00106941c6c.zip
[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.c5
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 db4d82785a6..fac130d0e9e 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)
iwl_activate_qos(priv, 1);
#endif
iwl_rxon_add_station(priv, BROADCAST_ADDR, 0);
- iwl_send_beacon_cmd(priv);
- } else
- iwl_send_beacon_cmd(priv);
+ }
+ iwl_send_beacon_cmd(priv);
/* FIXME - we need to add code here to detect a totally new
* configuration, reset the AP, unassoc, rxon timing, assoc,