Re: [PATCH v2] WPS: Make it possible to use PSKs loaded from PSK file
Jouni Malinen <[email protected]>
| Newsgroups | gmane.linux.drivers.hostap |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Feb 10, 2020 at 12:49:33PM +0100, [email protected] 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