b43: N-PHY: fix channel switching with 2 GHz radio 0x2057
authorRafał Miłecki <zajec5@gmail.com>
Thu, 17 Jul 2014 17:31:01 +0000 (19:31 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 18 Jul 2014 17:45:25 +0000 (13:45 -0400)
Values were written to wrong registers.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/radio_2057.c

index ca22faa41d2836c229be08ce783114900eee8600..c9c24b615cc5860ce84dc2cefd58caa2ef5030f8 100644 (file)
@@ -163,12 +163,12 @@ static u16 r2057_rev9_init[][2] = {
        .radio_vcobuf_tune                      = r09,  \
        .radio_logen_mx2g_tune                  = r10,  \
        .radio_logen_indbuf2g_tune              = r11,  \
-       .radio_lna2g_tune_core0                 = r12,  \
-       .radio_txmix2g_tune_boost_pu_core0      = r13,  \
-       .radio_pad2g_tune_pus_core0             = r14,  \
-       .radio_lna2g_tune_core1                 = r15,  \
-       .radio_txmix2g_tune_boost_pu_core1      = r16,  \
-       .radio_pad2g_tune_pus_core1             = r17
+       .radio_txmix2g_tune_boost_pu_core0      = r12,  \
+       .radio_pad2g_tune_pus_core0             = r13,  \
+       .radio_lna2g_tune_core0                 = r14,  \
+       .radio_txmix2g_tune_boost_pu_core1      = r15,  \
+       .radio_pad2g_tune_pus_core1             = r16,  \
+       .radio_lna2g_tune_core1                 = r17
 
 #define PHYREGS(r0, r1, r2, r3, r4, r5)        \
        .phy_regs.phy_bw1a      = r0,   \