[Bugfix][ZXW-302]CPU usage optimization-ZXW patch
Only Configure: No
Affected branch: master
Affected module: unknow
Is it affected on both ZXIC and MTK: only ZXIC
Self-test: Yes
Doc Update: No
Change-Id: I16b0c06f18879544f3550d1b056c76186790f0f3
diff --git a/ap/lib/libsoftap/softap_log.c b/ap/lib/libsoftap/softap_log.c
index 442770b..590b9e4 100755
--- a/ap/lib/libsoftap/softap_log.c
+++ b/ap/lib/libsoftap/softap_log.c
@@ -115,7 +115,7 @@
}
#define put_to_console(mod, fmt, arg) do {\
- char buf[1024] = {0}; \
+ char buf[1024]; \
if(SLOG_SOCTIME_ON == soctime_sw) \
snprintf(buf, 1023, "%s[%d][%lld.%llds]: ", mod, syscall(SYS_gettid), time_us/1000000, time_us%1000000); \
else \