Scanning

Jouni Malinen j
Fri Feb 24 13:36:42 PST 2012


On Thu, Feb 23, 2012 at 04:58:24PM +0100, Patrick Herrmann wrote:
> If I initiate a scan (I need this to be able to roam to a another access point) wpa_supplicant may connect to another AP by itself.
> 
> How do I prevent this?

The exact behavior depends on which driver you are using.. If you want
to control BSS selection completely, one option could be to specify the
bssid parameter in the network block so that there will be only a single
match in the scan results. Or if you are fine with a source code change
for this, just force wpa_supplicant_need_to_roam() return 0 in
wpa_supplicant/events.c.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list