aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2016-07-15 10:21:12 (GMT)
committerJouni Malinen <j@w1.fi>2016-07-17 08:08:02 (GMT)
commit9636b07ae20c4ad9cd65636db985bacd0d84ecaa (patch)
tree92aa00fcd6187c6e5ddd66939f1f7f97b4ec1b71
parent502f0ce848e89d8045a09781c8f0c464bcc16161 (diff)
downloadhostap-9636b07ae20c4ad9cd65636db985bacd0d84ecaa.zip
hostap-9636b07ae20c4ad9cd65636db985bacd0d84ecaa.tar.gz
hostap-9636b07ae20c4ad9cd65636db985bacd0d84ecaa.tar.bz2
HS 2.0: Add an event message to note failed OSU provider write
Signed-off-by: Jouni Malinen <j@w1.fi>
-rw-r--r--wpa_supplicant/hs20_supplicant.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/hs20_supplicant.c b/wpa_supplicant/hs20_supplicant.c
index a6fff4e..e88f147 100644
--- a/wpa_supplicant/hs20_supplicant.c
+++ b/wpa_supplicant/hs20_supplicant.c
@@ -703,6 +703,8 @@ static void hs20_osu_fetch_done(struct wpa_supplicant *wpa_s)
wpa_s->conf->osu_dir);
f = fopen(fname, "w");
if (f == NULL) {
+ wpa_msg(wpa_s, MSG_INFO,
+ "Could not write OSU provider information");
hs20_free_osu_prov(wpa_s);
wpa_s->fetch_anqp_in_progress = 0;
return;