aboutsummaryrefslogtreecommitdiffstats
path: root/src/wps/wps_upnp_event.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wps/wps_upnp_event.c')
-rw-r--r--src/wps/wps_upnp_event.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wps/wps_upnp_event.c b/src/wps/wps_upnp_event.c
index fd225b06c0c6..a6018fcf98e9 100644
--- a/src/wps/wps_upnp_event.c
+++ b/src/wps/wps_upnp_event.c
@@ -294,7 +294,7 @@ static int event_send_start(struct subscription *s)
buf = event_build_message(e);
if (buf == NULL) {
- event_retry(e, 0);
+ event_addr_failure(e);
return -1;
}
@@ -302,7 +302,7 @@ static int event_send_start(struct subscription *s)
event_http_cb, e);
if (e->http_event == NULL) {
wpabuf_free(buf);
- event_retry(e, 0);
+ event_addr_failure(e);
return -1;
}