On Mon, Feb 10, 2020 at 12:49:33PM +0100, tomasz.jankowski.mail@xxxxxxxxx wrote: > By default, when conf file defines wpa_psk_file, hostapd will generate a random > PSK for each device connecting using WPS and append that PSK to wpa_psk_file. > > This patch changes that behavior by adding new step. WPS will first try to > use PSK from wpa_psk_file. It will only try PSKs with wps=1 tag. Additionally > it'll try to match enrollee's MAC address (if provided). If it fails to find > appropriate PSK code fallbacks to generating new PSK. Thanks, applied with some fixes. -- Jouni Malinen PGP id EFC895FA _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap