diff --git a/src/utils/wpa_debug_zephyr.c b/src/utils/wpa_debug_zephyr.c index e1db266ece..eabcedbf6e 100644 --- a/src/utils/wpa_debug_zephyr.c +++ b/src/utils/wpa_debug_zephyr.c @@ -18,7 +18,7 @@ LOG_MODULE_REGISTER(wpa_supp, CONFIG_WIFI_NM_WPA_SUPPLICANT_LOG_LEVEL); int wpa_debug_level = MSG_INFO; -int wpa_debug_show_keys; +int wpa_debug_show_keys = IS_ENABLED(CONFIG_WIFI_NM_WPA_SUPPLICANT_DEBUG_SHOW_KEYS); int wpa_debug_timestamp; #ifndef CONFIG_NO_STDOUT_DEBUG