[PATCH] iwlwifi: Correction for sending beacon in config_ap
authorZhu Yi <yi.zhu@intel.com>
Thu, 27 Sep 2007 03:27:32 +0000 (11:27 +0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:53:20 +0000 (16:53 -0700)
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>
drivers/net/wireless/iwlwifi/iwl4965-base.c

index db4d827..fac130d 100644 (file)
@@ -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,