]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blobdiff - drivers/staging/vt6655/channel.c
Merge tag 'nfc-next-4.7-1' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo...
[mirror_ubuntu-hirsute-kernel.git] / drivers / staging / vt6655 / channel.c
index 9ac1ef9d0d5126a9e59e42eaf37e97806684cacc..b7d43a5622bacfaa4aae74e627b15c0d930e78a3 100644 (file)
@@ -144,7 +144,7 @@ void vnt_init_bands(struct vnt_private *priv)
                        ch[i].flags = IEEE80211_CHAN_NO_HT40;
                }
 
-               priv->hw->wiphy->bands[IEEE80211_BAND_5GHZ] =
+               priv->hw->wiphy->bands[NL80211_BAND_5GHZ] =
                                                &vnt_supported_5ghz_band;
        /* fallthrough */
        case RF_RFMD2959:
@@ -159,7 +159,7 @@ void vnt_init_bands(struct vnt_private *priv)
                        ch[i].flags = IEEE80211_CHAN_NO_HT40;
                }
 
-               priv->hw->wiphy->bands[IEEE80211_BAND_2GHZ] =
+               priv->hw->wiphy->bands[NL80211_BAND_2GHZ] =
                                                &vnt_supported_2ghz_band;
                break;
        }