]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ath5k: Choose the right initvals for RF2425
authorNick Kossifidis <mick@madwifi-project.org>
Sun, 15 Mar 2009 20:13:39 +0000 (22:13 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Sat, 28 Mar 2009 00:12:54 +0000 (20:12 -0400)
* Fix a typo in initvals.c so that we use the RF2425 array for RF2425 and not RF2413

Note: This also fixes incorect pd gain overlap since RF2425 has different pd gain overlap from RF2413

Signed-off-by: Nick Kossifidis <mickflemm@gmail.com>
Acked-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath5k/initvals.c

index 44886434187bc702293f668533851b78e1ece1d0..61fb621ed20d2ad86fecc1f702815532274b332b 100644 (file)
@@ -1510,8 +1510,8 @@ int ath5k_hw_write_initvals(struct ath5k_hw *ah, u8 mode, bool change_channel)
                                        rf2425_ini_mode_end, mode);
 
                        ath5k_hw_ini_registers(ah,
-                                       ARRAY_SIZE(rf2413_ini_common_end),
-                                       rf2413_ini_common_end, change_channel);
+                                       ARRAY_SIZE(rf2425_ini_common_end),
+                                       rf2425_ini_common_end, change_channel);
 
                        ath5k_hw_ini_registers(ah,
                                        ARRAY_SIZE(rf5112_ini_bbgain),