]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/net/wireless/marvell/mwifiex/uap_cmd.c
cfg80211: remove enum ieee80211_band
[mirror_ubuntu-bionic-kernel.git] / drivers / net / wireless / marvell / mwifiex / uap_cmd.c
index 92ce32f5bb13ca4369ad8f4c8fd23e463c30897f..f79d00d1e294425ae4ed43dfa1617aa54fdab895 100644 (file)
@@ -816,7 +816,7 @@ void mwifiex_uap_set_channel(struct mwifiex_private *priv,
                                                     chandef.chan->center_freq);
 
        /* Set appropriate bands */
-       if (chandef.chan->band == IEEE80211_BAND_2GHZ) {
+       if (chandef.chan->band == NL80211_BAND_2GHZ) {
                bss_cfg->band_cfg = BAND_CONFIG_BG;
                config_bands = BAND_B | BAND_G;