WPS NFC: Connect using learnt credential after NFC Tag read
authorJouni Malinen <jouni@qca.qualcomm.com>
Wed, 15 May 2013 13:46:45 +0000 (16:46 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 15 May 2013 13:46:45 +0000 (16:46 +0300)
commit170f5663dc5fd426b25fe3f680d34bd7d40f510e
tree2f533b7e93748d3ddb0000572fd4e90f60193369
parent0af2db74787394465edb9ae011e52c2bce33d1c0
WPS NFC: Connect using learnt credential after NFC Tag read

Instead of just adding the new network, prefer the network learnt from a
configuration token during the first connection attempt. This makes the
WPS NFC case behave similarly to the in-band provisioning cases if there
are more preferred networks in the scan results.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/wps_supplicant.c