]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - net/wireless/chan.c
tree-wide: replace config_enabled() with IS_ENABLED()
[karo-tx-linux.git] / net / wireless / chan.c
index da49c0b1fd32e211586b2e552cdc291dc26e215f..b0e11b6dc994fcfd6fdf53a94bb09fbe22f89192 100644 (file)
@@ -715,7 +715,7 @@ static bool cfg80211_ir_permissive_chan(struct wiphy *wiphy,
 
        ASSERT_RTNL();
 
-       if (!config_enabled(CONFIG_CFG80211_REG_RELAX_NO_IR) ||
+       if (!IS_ENABLED(CONFIG_CFG80211_REG_RELAX_NO_IR) ||
            !(wiphy->regulatory_flags & REGULATORY_ENABLE_RELAX_NO_IR))
                return false;