]> err.no Git - linux-2.6/commitdiff
[PATCH] iwlwifi: Fix typo in rate sacling algorithm
authorZhu Yi <yi.zhu@intel.com>
Thu, 27 Sep 2007 03:27:34 +0000 (11:27 +0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:53:21 +0000 (16:53 -0700)
This patch fixes tiny typo in 4965 rate sacling algorithm

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-4965-rs.c

index bc5e67b0b0e271eceda10209f97b7c2bde9fb52e..edcc542c3b342df752e7b235021267a6d76474f0 100644 (file)
@@ -1672,7 +1672,7 @@ static void rs_initialize_lq(struct iwl_priv *priv,
        tbl->antenna_type = ANT_AUX;
        rs_get_tbl_info_from_mcs(&mcs_rate, priv->phymode, tbl, &rate_idx);
        if (!rs_is_ant_connected(priv->valid_antenna, tbl->antenna_type))
-           rs_toggle_antenna(&mcs_rate, tbl),
+           rs_toggle_antenna(&mcs_rate, tbl);
 
        rs_mcs_from_tbl(&mcs_rate, tbl, rate_idx, use_green);
        tbl->current_rate.rate_n_flags = mcs_rate.rate_n_flags;