cfg80211: remove enum ieee80211_band
[cascardo/linux.git] / drivers / net / wireless / ath / ath9k / htc_drv_init.c
index c2249ad..c148c6c 100644 (file)
@@ -765,11 +765,11 @@ static void ath9k_set_hw_capab(struct ath9k_htc_priv *priv,
                sizeof(struct htc_frame_hdr) + 4;
 
        if (priv->ah->caps.hw_caps & ATH9K_HW_CAP_2GHZ)
-               hw->wiphy->bands[IEEE80211_BAND_2GHZ] =
-                       &common->sbands[IEEE80211_BAND_2GHZ];
+               hw->wiphy->bands[NL80211_BAND_2GHZ] =
+                       &common->sbands[NL80211_BAND_2GHZ];
        if (priv->ah->caps.hw_caps & ATH9K_HW_CAP_5GHZ)
-               hw->wiphy->bands[IEEE80211_BAND_5GHZ] =
-                       &common->sbands[IEEE80211_BAND_5GHZ];
+               hw->wiphy->bands[NL80211_BAND_5GHZ] =
+                       &common->sbands[NL80211_BAND_5GHZ];
 
        ath9k_cmn_reload_chainmask(ah);