WPS: Use a dummy WSC_ACK as WLANEvent as the initial event if needed
authorJouni Malinen <j@w1.fi>
Sat, 14 Nov 2009 23:11:28 +0000 (01:11 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 14 Nov 2009 23:11:28 +0000 (01:11 +0200)
commitfcac668faa5459c3f4ad1f9837f4b0f50edc4cba
tree3cee81ac3a3fb2c55c7b8f108cad9dd587f17ad1
parent44577e4c2e37b1039ec8850c61e7a71f6c242c1f
WPS: Use a dummy WSC_ACK as WLANEvent as the initial event if needed

UPnP device architecture specification requires all evented variables to
be included in the initial event message after subscription. Since this
can happen before we have seen any events, generated a dummy event
(WSC_ACK with all-zeros nonces) if needed.
src/wps/wps_upnp.c