WPS: Fix hostapd reconfig to update WPS UPnP string pointers
authorJouni Malinen <jouni.malinen@atheros.com>
Thu, 23 Sep 2010 02:34:32 +0000 (19:34 -0700)
committerJouni Malinen <j@w1.fi>
Thu, 23 Sep 2010 02:34:32 +0000 (19:34 -0700)
commitfa37511fa7e9d6a8f4fdaa8ec2df4af71bac7941
tree196237fc3370f3d2ea35ce89a6b5493614fb32ef
parent7d698c4ec7f342ae4a048939584c54df479c09cf
WPS: Fix hostapd reconfig to update WPS UPnP string pointers

This is needed to update the pointers maintained within WPS code
to use the new configuration data instead of maintaining pointers
to the old configuration which will be freed. This fixes strings in
UPnP discovery after reconfig (they used to be random freed memory..).
src/ap/wps_hostapd.c