]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
iwlwifi: fix rate scale TLC column selection bug
authorGuy Cohen <guy.cohen@intel.com>
Tue, 27 May 2008 03:29:35 +0000 (11:29 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 28 May 2008 20:43:48 +0000 (16:43 -0400)
This patch fixes a case that a wrong maximal rate is selected when
searching for better configurations.

Signed-off-by: Guy Cohen <guy.cohen@intel.com>
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 02c4073f5a781c25a3e9715d817bf57aeec8964f..3a7f0cb710ec62633df55c6609200612c4283ffc 100644 (file)
@@ -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;
                        }
                }