Question on reconfigure and changing SSID.
Jouni Malinen
j
Mon Jan 10 12:47:05 PST 2011
On Mon, Jan 10, 2011 at 12:00:08PM -0800, Ben Greear wrote:
> I notice that if I change ssids to something that
> doesn't show up in a scan, the station stays associated
> to the old AP, even though ssids don't match.
>
> I would expect the station to instead un-associate.
>
> I'm changing with wpa_cli 'reconfigure'.
>
> Is this current behaviour on purpose?
Not really... It should probably check after reconfiguration whether the
current network is still available and disconnect if not, i.e.,
something like this code in events.c:
if (wpa_supplicant_select_config(wpa_s) < 0) {
wpa_supplicant_disassociate(
wpa_s, WLAN_REASON_DEAUTH_LEAVING);
return;
}
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list