cfg80211: remove enum ieee80211_band
[cascardo/linux.git] / drivers / net / wireless / zydas / zd1211rw / zd_mac.c
index e539d9b..3e37a04 100644 (file)
@@ -1068,7 +1068,7 @@ int zd_mac_rx(struct ieee80211_hw *hw, const u8 *buffer, unsigned int length)
        }
 
        stats.freq = zd_channels[_zd_chip_get_channel(&mac->chip) - 1].center_freq;
-       stats.band = IEEE80211_BAND_2GHZ;
+       stats.band = NL80211_BAND_2GHZ;
        stats.signal = zd_check_signal(hw, status->signal_strength);
 
        rate = zd_rx_rate(buffer, status);
@@ -1395,7 +1395,7 @@ struct ieee80211_hw *zd_mac_alloc_hw(struct usb_interface *intf)
        mac->band.n_channels = ARRAY_SIZE(zd_channels);
        mac->band.channels = mac->channels;
 
-       hw->wiphy->bands[IEEE80211_BAND_2GHZ] = &mac->band;
+       hw->wiphy->bands[NL80211_BAND_2GHZ] = &mac->band;
 
        ieee80211_hw_set(hw, MFP_CAPABLE);
        ieee80211_hw_set(hw, HOST_BROADCAST_PS_BUFFERING);