cfg80211: remove enum ieee80211_band
[cascardo/linux.git] / drivers / staging / vt6655 / device_main.c
index c3eea07..4941640 100644 (file)
@@ -812,7 +812,7 @@ static int vnt_int_report_rate(struct vnt_private *priv,
                else if (fb_option & FIFOCTL_AUTO_FB_1)
                        tx_rate = fallback_rate1[tx_rate][retry];
 
-               if (info->band == IEEE80211_BAND_5GHZ)
+               if (info->band == NL80211_BAND_5GHZ)
                        idx = tx_rate - RATE_6M;
                else
                        idx = tx_rate;
@@ -1290,7 +1290,7 @@ static int vnt_config(struct ieee80211_hw *hw, u32 changed)
            (conf->flags & IEEE80211_CONF_OFFCHANNEL)) {
                set_channel(priv, conf->chandef.chan);
 
-               if (conf->chandef.chan->band == IEEE80211_BAND_5GHZ)
+               if (conf->chandef.chan->band == NL80211_BAND_5GHZ)
                        bb_type = BB_TYPE_11A;
                else
                        bb_type = BB_TYPE_11G;