From 1818af1c3ec96dfcffc026486eec317d69800087 Mon Sep 17 00:00:00 2001 From: Xia Xiaotian Date: Fri, 25 Nov 2016 12:03:58 +0800 Subject: [PATCH] wpa2 enterprise: update wifi lib and add wpa2_printf --- components/esp32/lib | 2 +- components/esp32/lib_printf.c | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) 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; -- 2.40.0