WPS ER: Fix Credential to use correct Enrollee MAC Address
authorJouni Malinen <jouni.malinen@atheros.com>
Thu, 27 May 2010 12:22:44 +0000 (15:22 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 27 May 2010 12:22:44 +0000 (15:22 +0300)
commit826fe5fec39475cf12969ebe9e1bfe2aceb97b5e
treed2b5fcc1864f89d40c483151c180ec0520e531f5
parented7a09f9145e5e122e2fbe1e3a5a08db42f5e8ce
WPS ER: Fix Credential to use correct Enrollee MAC Address

When starting the protocol run with an Enrollee, clone the AP Settings
and replace the AP MAC Address with the Enrollee MAC Address so that the
correct value is then used in the Credential attribute in M8.
src/wps/wps_er.c
src/wps/wps_er.h