b43: LP-PHY: Fix a spec error in the B2062 channel switch routine
authorGábor Stefanik <netrolller.3d@gmail.com>
Sun, 16 Aug 2009 13:32:40 +0000 (15:32 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 20 Aug 2009 15:35:56 +0000 (11:35 -0400)
The channel switch routine had a whole instruction missing. Add it.

Signed-off-by: Gábor Stefanik <netrolller.3d@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/phy_lp.c

index 85af82a7f9496aa076a28d2f049a59776678ac38..cb6c18d2cdbd56d74903721be201f814b81d282e 100644 (file)
@@ -1922,6 +1922,10 @@ static int lpphy_b2062_tune(struct b43_wldev *dev,
        tmp5 = tmp7 * 0x100;
        tmp6 = tmp5 / tmp4;
        tmp7 = tmp5 % tmp4;
+       b43_radio_write(dev, B2062_S_RFPLL_CTL27, tmp6);
+       tmp5 = tmp7 * 0x100;
+       tmp6 = tmp5 / tmp4;
+       tmp7 = tmp5 % tmp4;
        b43_radio_write(dev, B2062_S_RFPLL_CTL28, tmp6);
        tmp5 = tmp7 * 0x100;
        tmp6 = tmp5 / tmp4;