tree-wide: replace config_enabled() with IS_ENABLED()
[linux-block.git] / drivers / net / wireless / ath / ath9k / init.c
index edc74fca60aac441136be3c9e4b616162379ca1c..cfa3fe82ade36086c344cd3453c779733ad0a085 100644 (file)
@@ -843,7 +843,7 @@ static void ath9k_set_hw_capab(struct ath_softc *sc, struct ieee80211_hw *hw)
                               NL80211_FEATURE_AP_MODE_CHAN_WIDTH_CHANGE |
                               NL80211_FEATURE_P2P_GO_CTWIN;
 
-       if (!config_enabled(CONFIG_ATH9K_TX99)) {
+       if (!IS_ENABLED(CONFIG_ATH9K_TX99)) {
                hw->wiphy->interface_modes =
                        BIT(NL80211_IFTYPE_P2P_GO) |
                        BIT(NL80211_IFTYPE_P2P_CLIENT) |