mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
HS 2.0R2: Clean up debug log during exit path
deinit_ctx() may print debug information, so do not call wpa_debug_close_file() before deinit_ctx(). Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
48408fce2f
commit
bb2382619a
@ -3193,11 +3193,11 @@ int main(int argc, char *argv[])
|
||||
wpa_printf(MSG_INFO, "Unknown command '%s'", argv[optind]);
|
||||
}
|
||||
|
||||
deinit_ctx(&ctx);
|
||||
wpa_printf(MSG_DEBUG,
|
||||
"===[hs20-osu-client END ]======================");
|
||||
|
||||
wpa_debug_close_file();
|
||||
deinit_ctx(&ctx);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user