WPS: Do not try to send byebye advertisements if socket is not valid
authorJouni Malinen <j@w1.fi>
Sat, 21 Nov 2009 20:00:33 +0000 (22:00 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 21 Nov 2009 20:00:33 +0000 (22:00 +0200)
commit3c2166d63c3f8db9699bd29b152121ca63c70415
treef9983e856b6d8ce402b0a61e5b54001d98d068aa
parent247500cab70f49f027d0694e78f9be408981307b
WPS: Do not try to send byebye advertisements if socket is not valid

If initialization fails, we could potentially try to sendto() on -1
socket which would fail. No point in doing that, so just return early
from the function.
src/wps/wps_upnp_ssdp.c