mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-26 22:24:09 +08:00
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: Gábor Stefanik <netrolller.3d@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
0ff6ce7b36
commit
055114a388
@ -1922,6 +1922,10 @@ static int lpphy_b2062_tune(struct b43_wldev *dev,
|
|||||||
tmp5 = tmp7 * 0x100;
|
tmp5 = tmp7 * 0x100;
|
||||||
tmp6 = tmp5 / tmp4;
|
tmp6 = tmp5 / tmp4;
|
||||||
tmp7 = 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);
|
b43_radio_write(dev, B2062_S_RFPLL_CTL28, tmp6);
|
||||||
tmp5 = tmp7 * 0x100;
|
tmp5 = tmp7 * 0x100;
|
||||||
tmp6 = tmp5 / tmp4;
|
tmp6 = tmp5 / tmp4;
|
||||||
|
Loading…
Reference in New Issue
Block a user