diff options
Diffstat (limited to 'drivers/net/wireless/b43legacy/radio.c')
-rw-r--r-- | drivers/net/wireless/b43legacy/radio.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/wireless/b43legacy/radio.c b/drivers/net/wireless/b43legacy/radio.c index fcbafcd603cc..896177690394 100644 --- a/drivers/net/wireless/b43legacy/radio.c +++ b/drivers/net/wireless/b43legacy/radio.c | |||
@@ -1998,7 +1998,7 @@ u16 b43legacy_default_radio_attenuation(struct b43legacy_wldev *dev) | |||
1998 | if (phy->type == B43legacy_PHYTYPE_G) { | 1998 | if (phy->type == B43legacy_PHYTYPE_G) { |
1999 | if (is_bcm_board_vendor(dev) && | 1999 | if (is_bcm_board_vendor(dev) && |
2000 | dev->dev->bus->boardinfo.type == 0x421 && | 2000 | dev->dev->bus->boardinfo.type == 0x421 && |
2001 | dev->dev->bus->boardinfo.rev >= 30) | 2001 | dev->dev->bus->sprom.board_rev >= 30) |
2002 | att = 3; | 2002 | att = 3; |
2003 | else if (is_bcm_board_vendor(dev) && | 2003 | else if (is_bcm_board_vendor(dev) && |
2004 | dev->dev->bus->boardinfo.type == 0x416) | 2004 | dev->dev->bus->boardinfo.type == 0x416) |
@@ -2008,7 +2008,7 @@ u16 b43legacy_default_radio_attenuation(struct b43legacy_wldev *dev) | |||
2008 | } else { | 2008 | } else { |
2009 | if (is_bcm_board_vendor(dev) && | 2009 | if (is_bcm_board_vendor(dev) && |
2010 | dev->dev->bus->boardinfo.type == 0x421 && | 2010 | dev->dev->bus->boardinfo.type == 0x421 && |
2011 | dev->dev->bus->boardinfo.rev >= 30) | 2011 | dev->dev->bus->sprom.board_rev >= 30) |
2012 | att = 7; | 2012 | att = 7; |
2013 | else | 2013 | else |
2014 | att = 6; | 2014 | att = 6; |
@@ -2018,7 +2018,7 @@ u16 b43legacy_default_radio_attenuation(struct b43legacy_wldev *dev) | |||
2018 | if (phy->type == B43legacy_PHYTYPE_G) { | 2018 | if (phy->type == B43legacy_PHYTYPE_G) { |
2019 | if (is_bcm_board_vendor(dev) && | 2019 | if (is_bcm_board_vendor(dev) && |
2020 | dev->dev->bus->boardinfo.type == 0x421 && | 2020 | dev->dev->bus->boardinfo.type == 0x421 && |
2021 | dev->dev->bus->boardinfo.rev >= 30) | 2021 | dev->dev->bus->sprom.board_rev >= 30) |
2022 | att = 3; | 2022 | att = 3; |
2023 | else if (is_bcm_board_vendor(dev) && | 2023 | else if (is_bcm_board_vendor(dev) && |
2024 | dev->dev->bus->boardinfo.type == | 2024 | dev->dev->bus->boardinfo.type == |
@@ -2052,9 +2052,9 @@ u16 b43legacy_default_radio_attenuation(struct b43legacy_wldev *dev) | |||
2052 | } | 2052 | } |
2053 | if (is_bcm_board_vendor(dev) && | 2053 | if (is_bcm_board_vendor(dev) && |
2054 | dev->dev->bus->boardinfo.type == 0x421) { | 2054 | dev->dev->bus->boardinfo.type == 0x421) { |
2055 | if (dev->dev->bus->boardinfo.rev < 0x43) | 2055 | if (dev->dev->bus->sprom.board_rev < 0x43) |
2056 | att = 2; | 2056 | att = 2; |
2057 | else if (dev->dev->bus->boardinfo.rev < 0x51) | 2057 | else if (dev->dev->bus->sprom.board_rev < 0x51) |
2058 | att = 3; | 2058 | att = 3; |
2059 | } | 2059 | } |
2060 | if (att == 0xFFFF) | 2060 | if (att == 0xFFFF) |