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

Commit 098697db authored by Hauke Mehrtens's avatar Hauke Mehrtens Committed by Kalle Valo
Browse files

b43: fix extpa_gain check for 2GHz



On the 2GHz and and on the 5GHZ band only the extpa_gain setting from
the 5GHz band was checked. this patch makes it check the property from
the correct band.

Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 5d5cd85f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3728,7 +3728,7 @@ const u32 *b43_nphy_get_tx_gain_table(struct b43_wldev *dev)
		switch (phy->rev) {
		case 6:
		case 5:
			if (sprom->fem.ghz5.extpa_gain == 3)
			if (sprom->fem.ghz2.extpa_gain == 3)
				return b43_ntab_tx_gain_epa_rev3_hi_pwr_2g;
			/* fall through */
		case 4: