cfg80211: remove enum ieee80211_band
[cascardo/linux.git] / drivers / net / wireless / intel / iwlegacy / debug.c
index 908b9f4..6fc6b7f 100644 (file)
@@ -544,7 +544,7 @@ il_dbgfs_channels_read(struct file *file, char __user *user_buf, size_t count,
                return -ENOMEM;
        }
 
-       supp_band = il_get_hw_mode(il, IEEE80211_BAND_2GHZ);
+       supp_band = il_get_hw_mode(il, NL80211_BAND_2GHZ);
        if (supp_band) {
                channels = supp_band->channels;
 
@@ -571,7 +571,7 @@ il_dbgfs_channels_read(struct file *file, char __user *user_buf, size_t count,
                                      flags & IEEE80211_CHAN_NO_IR ?
                                      "passive only" : "active/passive");
        }
-       supp_band = il_get_hw_mode(il, IEEE80211_BAND_5GHZ);
+       supp_band = il_get_hw_mode(il, NL80211_BAND_5GHZ);
        if (supp_band) {
                channels = supp_band->channels;