From: Guy Cohen Date: Tue, 27 May 2008 03:29:35 +0000 (+0800) Subject: iwlwifi: fix rate scale TLC column selection bug X-Git-Tag: Ubuntu-5.0.0-8.9~33410^2~2^2~4 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=135a5484c3e0c6710035630b630cef3c856b78e2;p=mirror_ubuntu-disco-kernel.git iwlwifi: fix rate scale TLC column selection bug This patch fixes a case that a wrong maximal rate is selected when searching for better configurations. Signed-off-by: Guy Cohen Signed-off-by: Tomas Winkler Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/iwlwifi/iwl-4965-rs.c b/drivers/net/wireless/iwlwifi/iwl-4965-rs.c index 02c4073f5a78..3a7f0cb710ec 100644 --- a/drivers/net/wireless/iwlwifi/iwl-4965-rs.c +++ b/drivers/net/wireless/iwlwifi/iwl-4965-rs.c @@ -1162,7 +1162,6 @@ static s32 rs_get_best_rate(struct iwl_priv *priv, /* Higher rate not available, use the original */ } else { - new_rate = rate; break; } }