HS 2.0: Add an event message to note failed OSU provider write
authorJouni Malinen <j@w1.fi>
Fri, 15 Jul 2016 10:21:12 +0000 (13:21 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 17 Jul 2016 08:08:02 +0000 (11:08 +0300)
Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/hs20_supplicant.c

index a6fff4e..e88f147 100644 (file)
@@ -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;