]> git.ipfire.org Git - thirdparty/hostap.git/commit - hostapd/config_file.c
WPS: Use pre-configured NFC password token instead of overriding it
authorJouni Malinen <jouni@qca.qualcomm.com>
Fri, 15 Feb 2013 09:24:29 +0000 (11:24 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 15 Feb 2013 09:24:29 +0000 (11:24 +0200)
commit042ec551d4ff2ffb8e0eec4708e4bbefcaea804c
tree0ecfb1ecc92387cc7cf2ed4c03e0703ebdfd9bd2
parentd16531c40c2322bb23dbdc0ce4338c2c3722f9f8
WPS: Use pre-configured NFC password token instead of overriding it

"WPS_NFC_TOKEN <WPS/NDEF>" used to generate a new NFC password token
regardless of whether there was a pre-configured token in the
configuration. Change this to use the pre-configured value, if
available, instead. This allows the same command to be used to write the
password token to an NFC tag more conveniently.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
hostapd/config_file.c
src/ap/ap_config.h
src/ap/wps_hostapd.c
src/wps/wps.h
src/wps/wps_common.c
wpa_supplicant/config.c
wpa_supplicant/config.h
wpa_supplicant/config_file.c
wpa_supplicant/wps_supplicant.c