cfg80211: remove enum ieee80211_band
[cascardo/linux.git] / drivers / net / wireless / ath / wil6210 / netdev.c
index 3bc0e26..0984097 100644 (file)
@@ -157,7 +157,7 @@ void *wil_if_alloc(struct device *dev)
 
        wdev->iftype = NL80211_IFTYPE_STATION; /* TODO */
        /* default monitor channel */
-       ch = wdev->wiphy->bands[IEEE80211_BAND_60GHZ]->channels;
+       ch = wdev->wiphy->bands[NL80211_BAND_60GHZ]->channels;
        cfg80211_chandef_create(&wdev->preset_chandef, ch, NL80211_CHAN_NO_HT);
 
        ndev = alloc_netdev(0, "wlan%d", NET_NAME_UNKNOWN, wil_dev_setup);