ssb: Fix extraction of values from SPROM
This fixes extraction of some values from the SPROM. It mainly fixes extraction of antenna related values, which is needed for another b43 fix sent later. Signed-off-by: Michael Buesch <mb@bu3sch.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
David S. Miller
parent
66c6b139f7
commit
e861b98d5e
@@ -1859,7 +1859,7 @@ void b43legacy_phy_xmitpower(struct b43legacy_wldev *dev)
|
||||
* which accounts for the factor of 4 */
|
||||
#define REG_MAX_PWR 20
|
||||
max_pwr = min(REG_MAX_PWR * 4
|
||||
- dev->dev->bus->sprom.antenna_gain_bg
|
||||
- dev->dev->bus->sprom.antenna_gain.ghz24.a0
|
||||
- 0x6, max_pwr);
|
||||
|
||||
/* find the desired power in Q5.2 - power_level is in dBm
|
||||
|
Reference in New Issue
Block a user