diff options
Diffstat (limited to 'drivers/net/wireless/b43/phy_n.c')
-rw-r--r-- | drivers/net/wireless/b43/phy_n.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/b43/phy_n.c b/drivers/net/wireless/b43/phy_n.c index 05960ddde24e..e395550222d6 100644 --- a/drivers/net/wireless/b43/phy_n.c +++ b/drivers/net/wireless/b43/phy_n.c | |||
@@ -983,7 +983,7 @@ static u16 b43_nphy_classifier(struct b43_wldev *dev, u16 mask, u16 val) | |||
983 | { | 983 | { |
984 | u16 tmp; | 984 | u16 tmp; |
985 | 985 | ||
986 | if (dev->sdev->id.revision == 16) | 986 | if (dev->dev->core_rev == 16) |
987 | b43_mac_suspend(dev); | 987 | b43_mac_suspend(dev); |
988 | 988 | ||
989 | tmp = b43_phy_read(dev, B43_NPHY_CLASSCTL); | 989 | tmp = b43_phy_read(dev, B43_NPHY_CLASSCTL); |
@@ -993,7 +993,7 @@ static u16 b43_nphy_classifier(struct b43_wldev *dev, u16 mask, u16 val) | |||
993 | tmp |= (val & mask); | 993 | tmp |= (val & mask); |
994 | b43_phy_maskset(dev, B43_NPHY_CLASSCTL, 0xFFF8, tmp); | 994 | b43_phy_maskset(dev, B43_NPHY_CLASSCTL, 0xFFF8, tmp); |
995 | 995 | ||
996 | if (dev->sdev->id.revision == 16) | 996 | if (dev->dev->core_rev == 16) |
997 | b43_mac_enable(dev); | 997 | b43_mac_enable(dev); |
998 | 998 | ||
999 | return tmp; | 999 | return tmp; |