projects
/
libeap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c3a2f1
)
WPS: Schedule sending of pending events after failure
author
Jouni Malinen
<j@w1.fi>
Sun, 17 Oct 2010 17:57:11 +0000
(20:57 +0300)
committer
Jouni Malinen
<j@w1.fi>
Sun, 17 Oct 2010 17:57:11 +0000
(20:57 +0300)
There is no point leaving these pending events waiting for something
new to trigger us to continue.
src/wps/wps_upnp_event.c
patch
|
blob
|
history
diff --git
a/src/wps/wps_upnp_event.c
b/src/wps/wps_upnp_event.c
index
31ce824
..
6555f9e
100644
(file)
--- a/
src/wps/wps_upnp_event.c
+++ b/
src/wps/wps_upnp_event.c
@@
-132,6
+132,8
@@
static void event_retry(struct wps_event_ *e, int do_next_address)
wpa_printf(MSG_DEBUG, "WPS UPnP: Giving up on sending event "
"for %s", e->addr->domain_and_port);
event_delete(e);
+ if (!dl_list_empty(&s->event_queue))
+ event_send_all_later(s->sm);
return;
}
dl_list_add(&s->event_queue, &e->list);