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
1 changed files with 1 additions and 1 deletions
|
@ -3193,11 +3193,11 @@ int main(int argc, char *argv[])
|
||||||
wpa_printf(MSG_INFO, "Unknown command '%s'", argv[optind]);
|
wpa_printf(MSG_INFO, "Unknown command '%s'", argv[optind]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
deinit_ctx(&ctx);
|
||||||
wpa_printf(MSG_DEBUG,
|
wpa_printf(MSG_DEBUG,
|
||||||
"===[hs20-osu-client END ]======================");
|
"===[hs20-osu-client END ]======================");
|
||||||
|
|
||||||
wpa_debug_close_file();
|
wpa_debug_close_file();
|
||||||
deinit_ctx(&ctx);
|
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue