]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/net/wireless/ath/dfs_pattern_detector.c
tree-wide: replace config_enabled() with IS_ENABLED()
[karo-tx-linux.git] / drivers / net / wireless / ath / dfs_pattern_detector.c
index 2303ef96299d5bfe6eed3624a5c8e44a0630f943..2f8136d50f787e5881c6657c9ff9b47624acc46b 100644 (file)
@@ -352,7 +352,7 @@ dfs_pattern_detector_init(struct ath_common *common,
 {
        struct dfs_pattern_detector *dpd;
 
-       if (!config_enabled(CONFIG_CFG80211_CERTIFICATION_ONUS))
+       if (!IS_ENABLED(CONFIG_CFG80211_CERTIFICATION_ONUS))
                return NULL;
 
        dpd = kmalloc(sizeof(*dpd), GFP_KERNEL);