cfg80211: remove enum ieee80211_band
[cascardo/linux.git] / drivers / net / wireless / ath / ath.h
index 65ef483..da7a7c8 100644 (file)
@@ -185,7 +185,7 @@ struct ath_common {
        bool bt_ant_diversity;
 
        int last_rssi;
-       struct ieee80211_supported_band sbands[IEEE80211_NUM_BANDS];
+       struct ieee80211_supported_band sbands[NUM_NL80211_BANDS];
 };
 
 static inline const struct ath_ps_ops *ath_ps_ops(struct ath_common *common)