Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 055114a3 authored by Gábor Stefanik's avatar Gábor Stefanik Committed by John W. Linville
Browse files

b43: LP-PHY: Fix a spec error in the B2062 channel switch routine



The channel switch routine had a whole instruction missing. Add it.

Signed-off-by: default avatarGábor Stefanik <netrolller.3d@gmail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 0ff6ce7b
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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;