[PATCH 3/3]: wpa_gui-qt4: use bss ctrl interface command to get scan results
Jouni Malinen
j
Mon Feb 4 18:42:55 PST 2008
On Tue, Feb 05, 2008 at 11:15:37AM +1000, Kel Modderman wrote:
> It looks like the "bss next <last bssid>" iterator will busy loop between two
> cells of scan results if they have the same bssid.
OK. This sounds like a clear reason for the problem. Using the same
BSSID for multiple APs is not really a good idea for number of reasons,
but the client should obviously not die if this occurs.. I think there
are two options for fixing this: filter out duplicate BSSIDs from scan
results in wpa_supplicant or use something else than BSSID as the
identifier in ctrl_iface iteration.
While the problems of multiple BSSes using the same BSSID would justify
just dropping duplicates, I think I end up just replacing the BSS
first/next iteration with BSS <idx> where idx is an index to the scan
results in wpa_supplicant. This allows all BSSes to be fetched and
guarantees that the client does not end up in a loop.
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list