[PATCH] WPS: Force scan_ssid when SSID is specified
Jouni Malinen
j at w1.fi
Fri Jul 31 06:02:17 PDT 2026
On Sun, Apr 12, 2026 at 03:39:11PM +0200, Baligh Gasmi wrote:
> When WPS credentials include an SSID, ensure the scan_ssid flag is set
> to force active scanning for that network. This guarantees proper
> discovery of the network even when the SSID is not being broadcast.
This would force the device to send out that SSID in Probe Request
frames which has privacy concerns and as such, this is not really
acceptable default behavior. This could be done if scan results show
that the network is indeed using hidden SSID (i.e., run a scan first and
if no match is found, run a scan with scan_ssid=1 and if that finds the
network, leave scan_ssid=1 in configuration; otherwise, remove it).
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list