diff options
author | Michael Buesch <mb@bu3sch.de> | 2009-02-20 08:27:15 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-02-27 14:52:50 -0500 |
commit | 969d15cfab52c0af40c617fcbcc54cad6eaa4b32 (patch) | |
tree | 1b049b480de6ca91f0e6d96650e36d1496d15c20 /drivers/net/wireless/b43/main.c | |
parent | 2d071ca50e9f20bf0203a7e8dbb1c784934e324d (diff) |
b43: Fix radio host flags
This fixes initialization of some radio related hostflags.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/main.c')
-rw-r--r-- | drivers/net/wireless/b43/main.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c index 7116ab6eccfa..390ce140637d 100644 --- a/drivers/net/wireless/b43/main.c +++ b/drivers/net/wireless/b43/main.c | |||
@@ -4170,10 +4170,12 @@ static int b43_wireless_core_init(struct b43_wldev *dev) | |||
4170 | hf |= B43_HF_GDCW; | 4170 | hf |= B43_HF_GDCW; |
4171 | if (sprom->boardflags_lo & B43_BFL_PACTRL) | 4171 | if (sprom->boardflags_lo & B43_BFL_PACTRL) |
4172 | hf |= B43_HF_OFDMPABOOST; | 4172 | hf |= B43_HF_OFDMPABOOST; |
4173 | } else if (phy->type == B43_PHYTYPE_B) { | 4173 | } |
4174 | hf |= B43_HF_SYMW; | 4174 | if (phy->radio_ver == 0x2050) { |
4175 | if (phy->rev >= 2 && phy->radio_ver == 0x2050) | 4175 | if (phy->radio_rev == 6) |
4176 | hf &= ~B43_HF_GDCW; | 4176 | hf |= B43_HF_4318TSSI; |
4177 | if (phy->radio_rev < 6) | ||
4178 | hf |= B43_HF_VCORECALC; | ||
4177 | } | 4179 | } |
4178 | b43_hf_write(dev, hf); | 4180 | b43_hf_write(dev, hf); |
4179 | 4181 | ||