diff options
Diffstat (limited to 'drivers/net/wireless/b43/phy_common.c')
-rw-r--r-- | drivers/net/wireless/b43/phy_common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/b43/phy_common.c b/drivers/net/wireless/b43/phy_common.c index 4d4345d76abf..af37abccccb3 100644 --- a/drivers/net/wireless/b43/phy_common.c +++ b/drivers/net/wireless/b43/phy_common.c | |||
@@ -162,7 +162,7 @@ void b43_phy_lock(struct b43_wldev *dev) | |||
162 | #endif | 162 | #endif |
163 | B43_WARN_ON(dev->dev->id.revision < 3); | 163 | B43_WARN_ON(dev->dev->id.revision < 3); |
164 | 164 | ||
165 | if (!b43_is_mode(dev->wl, IEEE80211_IF_TYPE_AP)) | 165 | if (!b43_is_mode(dev->wl, NL80211_IFTYPE_AP)) |
166 | b43_power_saving_ctl_bits(dev, B43_PS_AWAKE); | 166 | b43_power_saving_ctl_bits(dev, B43_PS_AWAKE); |
167 | } | 167 | } |
168 | 168 | ||
@@ -174,7 +174,7 @@ void b43_phy_unlock(struct b43_wldev *dev) | |||
174 | #endif | 174 | #endif |
175 | B43_WARN_ON(dev->dev->id.revision < 3); | 175 | B43_WARN_ON(dev->dev->id.revision < 3); |
176 | 176 | ||
177 | if (!b43_is_mode(dev->wl, IEEE80211_IF_TYPE_AP)) | 177 | if (!b43_is_mode(dev->wl, NL80211_IFTYPE_AP)) |
178 | b43_power_saving_ctl_bits(dev, 0); | 178 | b43_power_saving_ctl_bits(dev, 0); |
179 | } | 179 | } |
180 | 180 | ||