]> git.ipfire.org Git - thirdparty/hostap.git/commit
WPS: Fix wps_reg nfc-pw option
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 14 Feb 2013 17:44:54 +0000 (19:44 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 14 Feb 2013 17:44:54 +0000 (19:44 +0200)
commit38a5ad6728e95d551ba3d5c56fa8d0d199d1e4e1
treea255d1a63554d00b273a8dd7e9d0b6dfc2c0c596
parent7b44ff2c21f588d6d042809ef4cc2c7f47974735
WPS: Fix wps_reg nfc-pw option

Commit ffdaa05a6b1b59c4b2e50f9b7fef82769fc2d3fe added support for using
NFC password token from an AP. However, it had a bug that prevented the
wpa_supplicant wps_reg command from being used with "nfc-pw" as the PIN
value. Fix string comparison to handle this correctly.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
src/eap_peer/eap_wsc.c