X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=src%2Fwps%2Fwps_upnp.c;h=07b5bce68c4f455b60b000dae73fc1b30edfe2a0;hb=875a4e5936ee912a6209067ac5324f36271733ec;hp=25c6f44466762cac94c1bd9f7afbf95f13416c9d;hpb=b905c4a398fcfb0951f92473254451a26adcb142;p=libeap.git diff --git a/src/wps/wps_upnp.c b/src/wps/wps_upnp.c index 25c6f44..07b5bce 100644 --- a/src/wps/wps_upnp.c +++ b/src/wps/wps_upnp.c @@ -956,8 +956,6 @@ void upnp_wps_device_stop(struct upnp_wps_device_sm *sm) wpa_printf(MSG_DEBUG, "WPS UPnP: Stop device"); web_listener_stop(sm); - while (sm->web_connections) - web_connection_stop(sm->web_connections); while (sm->msearch_replies) msearchreply_state_machine_stop(sm->msearch_replies); while (sm->subscriptions) {