]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Fix fuzzing test build
authorJouni Malinen <quic_jouni@quicinc.com>
Tue, 5 Mar 2024 15:09:25 +0000 (17:09 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 5 Mar 2024 15:24:50 +0000 (17:24 +0200)
The commit that renamed the WNM BTM deallocation function forgot to
update the fuzz tester tool.

Fixes: e508c070c40e ("WNM: Keep BTM information until connection completes")
Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
tests/fuzzing/wnm/wnm.c

index 7afc648e442aff16f72a41c8b4d97cb968f866e2..1ae0189946203cd1b2444b4c341ef0a0059b4af9 100644 (file)
@@ -60,7 +60,7 @@ static int init_wpa(struct arg_ctx *ctx)
 
 static void deinit_wpa(struct arg_ctx *ctx)
 {
-       wnm_deallocate_memory(&ctx->wpa_s);
+       wnm_btm_reset(&ctx->wpa_s);
 }