]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/net/wireless/ath5k/attach.c
mac80211: use nl80211 interface types
[mirror_ubuntu-bionic-kernel.git] / drivers / net / wireless / ath5k / attach.c
index 0eb2511fe1475524fe644e384a0ae96198f591f4..153c4111fabe3103e947c2418b129ab17bd03552 100644 (file)
@@ -124,7 +124,7 @@ struct ath5k_hw *ath5k_hw_attach(struct ath5k_softc *sc, u8 mac_version)
        /*
         * HW information
         */
-       ah->ah_op_mode = IEEE80211_IF_TYPE_STA;
+       ah->ah_op_mode = NL80211_IFTYPE_STATION;
        ah->ah_radar.r_enabled = AR5K_TUNE_RADAR_ALERT;
        ah->ah_turbo = false;
        ah->ah_txpower.txp_tpc = AR5K_TUNE_TPC_TXPOWER;