aboutsummaryrefslogtreecommitdiffstats
path: root/hs20
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2014-03-17 22:05:44 (GMT)
committerJouni Malinen <j@w1.fi>2014-03-17 22:40:04 (GMT)
commitbb2382619a2c4564f0dc871deef6cbdd2639dea0 (patch)
tree3afd7e4cfc9723e31dbfc2567754c329ae3769f8 /hs20
parent48408fce2f3d94f5cab08d46cec7e5306db12c14 (diff)
downloadhostap-bb2382619a2c4564f0dc871deef6cbdd2639dea0.zip
hostap-bb2382619a2c4564f0dc871deef6cbdd2639dea0.tar.gz
hostap-bb2382619a2c4564f0dc871deef6cbdd2639dea0.tar.bz2
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>
Diffstat (limited to 'hs20')
-rw-r--r--hs20/client/osu_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hs20/client/osu_client.c b/hs20/client/osu_client.c
index 7d1617a..ea269ab 100644
--- a/hs20/client/osu_client.c
+++ b/hs20/client/osu_client.c
@@ -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;
}