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

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

b43: LP-PHY: Don't adjust gain table for rev2+ when setting channel



Rev2+ never needs to have gain tables adjusted according to the spec.

Signed-off-by: default avatarGábor Stefanik <netrolller.3d@gmail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 9d86a2d5
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -2059,9 +2059,8 @@ static int b43_lpphy_op_switch_channel(struct b43_wldev *dev,
		if (err)
			return err;
		lpphy_japan_filter(dev, new_channel);
	}

		lpphy_adjust_gain_table(dev, channel2freq_lp(new_channel));
	}

	return 0;
}