diff options
Diffstat (limited to 'drivers/net/wireless/b43/main.c')
-rw-r--r-- | drivers/net/wireless/b43/main.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c index d7ea671394a8..68bbe8eafd6d 100644 --- a/drivers/net/wireless/b43/main.c +++ b/drivers/net/wireless/b43/main.c | |||
@@ -3884,16 +3884,6 @@ static void b43_sprom_fixup(struct ssb_bus *bus) | |||
3884 | if (bus->boardinfo.vendor == PCI_VENDOR_ID_APPLE && | 3884 | if (bus->boardinfo.vendor == PCI_VENDOR_ID_APPLE && |
3885 | bus->boardinfo.type == 0x4E && bus->boardinfo.rev > 0x40) | 3885 | bus->boardinfo.type == 0x4E && bus->boardinfo.rev > 0x40) |
3886 | bus->sprom.boardflags_lo |= B43_BFL_PACTRL; | 3886 | bus->sprom.boardflags_lo |= B43_BFL_PACTRL; |
3887 | |||
3888 | /* Handle case when gain is not set in sprom */ | ||
3889 | if (bus->sprom.antenna_gain_a == 0xFF) | ||
3890 | bus->sprom.antenna_gain_a = 2; | ||
3891 | if (bus->sprom.antenna_gain_bg == 0xFF) | ||
3892 | bus->sprom.antenna_gain_bg = 2; | ||
3893 | |||
3894 | /* Convert Antennagain values to Q5.2 */ | ||
3895 | bus->sprom.antenna_gain_a <<= 2; | ||
3896 | bus->sprom.antenna_gain_bg <<= 2; | ||
3897 | } | 3887 | } |
3898 | 3888 | ||
3899 | static void b43_wireless_exit(struct ssb_device *dev, struct b43_wl *wl) | 3889 | static void b43_wireless_exit(struct ssb_device *dev, struct b43_wl *wl) |