]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/wireless/b43/phy_common.c
mac80211: use nl80211 interface types
[linux-2.6-omap-h63xx.git] / drivers / net / wireless / b43 / phy_common.c
index 4d4345d76abfcdffbc6d25583e10d8922b77c4fc..af37abccccb39e4f3ca7f7c1bcd465ef5fc10ac1 100644 (file)
@@ -162,7 +162,7 @@ void b43_phy_lock(struct b43_wldev *dev)
 #endif
        B43_WARN_ON(dev->dev->id.revision < 3);
 
-       if (!b43_is_mode(dev->wl, IEEE80211_IF_TYPE_AP))
+       if (!b43_is_mode(dev->wl, NL80211_IFTYPE_AP))
                b43_power_saving_ctl_bits(dev, B43_PS_AWAKE);
 }
 
@@ -174,7 +174,7 @@ void b43_phy_unlock(struct b43_wldev *dev)
 #endif
        B43_WARN_ON(dev->dev->id.revision < 3);
 
-       if (!b43_is_mode(dev->wl, IEEE80211_IF_TYPE_AP))
+       if (!b43_is_mode(dev->wl, NL80211_IFTYPE_AP))
                b43_power_saving_ctl_bits(dev, 0);
 }