From: Zhu Yi Date: Thu, 27 Sep 2007 03:27:32 +0000 (+0800) Subject: [PATCH] iwlwifi: Correction for sending beacon in config_ap X-Git-Tag: v2.6.24-rc1~1454^2~289 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=e1493deb74d22b005769e6ecbd24a00106941c6c;p=linux-2.6-omap-h63xx.git [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 Signed-off-by: Zhu Yi Signed-off-by: John W. Linville --- 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,