mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-01-03 10:32:33 +01:00
network: fix pending hidden OWE scan logic
This was actually broken if triggered because __network_connect checks if network->connect_after_owe_hidden is set and returns already in progress. We want to keep this behavior though for obvious reasons. To fix this station_connect_network can be called directly which bypasses the check. This is essentially how ANQP avoids this problem as well.
This commit is contained in:
parent
e11ad83222
commit
c19dc6605f
@ -1955,11 +1955,9 @@ static void event_watch_changed(enum station_event state,
|
||||
if (!network->connect_after_owe_hidden)
|
||||
return;
|
||||
|
||||
reply = __network_connect(network,
|
||||
station_connect_network(network->station, network,
|
||||
network_bss_select(network, true),
|
||||
network->connect_after_owe_hidden);
|
||||
if (reply)
|
||||
l_dbus_send(dbus_get_bus(), reply);
|
||||
|
||||
l_dbus_message_unref(network->connect_after_owe_hidden);
|
||||
network->connect_after_owe_hidden = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user