]> git.ipfire.org Git - thirdparty/hostap.git/commit
trace: Fix compilation issue due to using an undefined symbol
authorJintao Lin <jintaolin@chromium.org>
Thu, 4 Jan 2024 22:05:39 +0000 (22:05 +0000)
committerJouni Malinen <j@w1.fi>
Sat, 13 Jan 2024 21:47:20 +0000 (23:47 +0200)
commit628f286102a59c001dd1394ce429df04d3e328b7
treee5c616e02ac23ac103b245b3f4ed0ceb18aa0ab5
parentcbcd056ece4a5e4875e8d1ee69bd489fc5caa596
trace: Fix compilation issue due to using an undefined symbol

Fix commit 5545d995b3 which could use undefined symbol
testing_fail_alloc() in os_malloc() if CONFIG_WPA_TRACE=y is used
without CONFIG_WPA_TRACE_BFD=y.

Fixes: 5545d995b3d5 ("trace: Share common implementation for TEST_FAIL and TEST_ALLOC_FAIL")
Signed-off-by: Jintao Lin <jintaolin@chromium.org>
src/utils/os_unix.c