cfg80211: remove enum ieee80211_band
[cascardo/linux.git] / net / mac80211 / rate.c
index a4e2f4e..206698b 100644 (file)
@@ -287,7 +287,7 @@ static void __rate_control_send_low(struct ieee80211_hw *hw,
        u32 rate_flags =
                ieee80211_chandef_rate_flags(&hw->conf.chandef);
 
-       if ((sband->band == IEEE80211_BAND_2GHZ) &&
+       if ((sband->band == NL80211_BAND_2GHZ) &&
            (info->flags & IEEE80211_TX_CTL_NO_CCK_RATE))
                rate_flags |= IEEE80211_RATE_ERP_G;