UPnP event subscriptions are not supposed to be dropped based on
whether events can be delivered quickly enough. Leave dropping to
happen only based on failed deliveries to avoid issues with a burst
of events kicking out still active subscribers.
dl_list_for_each_safe(s, tmp, &sm->subscriptions, struct subscription,
list) {
dl_list_for_each_safe(s, tmp, &sm->subscriptions, struct subscription,
list) {
- if (event_add(s, buf, sm->wlanevent_type ==
- UPNP_WPS_WLANEVENT_TYPE_PROBE) == 1) {
- wpa_printf(MSG_INFO, "WPS UPnP: Dropping "
- "subscriber %p due to event backlog", s);
- dl_list_del(&s->list);
- subscription_destroy(s);
- }
+ event_add(s, buf,
+ sm->wlanevent_type == UPNP_WPS_WLANEVENT_TYPE_PROBE);