]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/wireless/b43legacy/phy.c
mac80211: use nl80211 interface types
[linux-2.6-omap-h63xx.git] / drivers / net / wireless / b43legacy / phy.c
index bed67a54250c0b2981def6e54a6b5256a6405ff4..4c9442b16f3fb51ce9505ac5ac013d2d453d6f49 100644 (file)
@@ -103,7 +103,7 @@ void b43legacy_phy_lock(struct b43legacy_wldev *dev)
        if (dev->dev->id.revision < 3) {
                b43legacy_mac_suspend(dev);
        } else {
-               if (!b43legacy_is_mode(dev->wl, IEEE80211_IF_TYPE_AP))
+               if (!b43legacy_is_mode(dev->wl, NL80211_IFTYPE_AP))
                        b43legacy_power_saving_ctl_bits(dev, -1, 1);
        }
 }
@@ -118,7 +118,7 @@ void b43legacy_phy_unlock(struct b43legacy_wldev *dev)
        if (dev->dev->id.revision < 3) {
                b43legacy_mac_enable(dev);
        } else {
-               if (!b43legacy_is_mode(dev->wl, IEEE80211_IF_TYPE_AP))
+               if (!b43legacy_is_mode(dev->wl, NL80211_IFTYPE_AP))
                        b43legacy_power_saving_ctl_bits(dev, -1, -1);
        }
 }