diff --git a/components/esp32/lib b/components/esp32/lib index 60ae2940df..1ef5197246 160000 --- a/components/esp32/lib +++ b/components/esp32/lib @@ -1 +1 @@ -Subproject commit 60ae2940dfdca8c8279128bee8bf7716356d864b +Subproject commit 1ef5197246db363681ca78c1e3edc2d2cca92bbe diff --git a/components/esp32/lib_printf.c b/components/esp32/lib_printf.c index 135faa4f9c..a2aff4cf56 100644 --- a/components/esp32/lib_printf.c +++ b/components/esp32/lib_printf.c @@ -78,6 +78,15 @@ int wpa_printf(const char* format, ...) return res; } +int wpa2_printf(const char* format, ...) +{ + va_list arg; + va_start(arg, format); + int res = lib_printf("wpa2", format, arg); + va_end(arg); + return res; +} + int wps_printf(const char* format, ...) { va_list arg;