mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 21:22:37 +01:00
station: Allow ConnectHiddenNetwork while connected
We used to not allow to connect to a different network while already connected. One had to disconnect first. This also applied to ConnectHiddenNetwork calls. This restriction can be dropped now. station will intelligently disconnect from the current AP when a station_connect_network() is issued.
This commit is contained in:
parent
fc10ee8745
commit
56538bf75b
@ -2674,7 +2674,7 @@ static struct l_dbus_message *station_dbus_connect_hidden_network(
|
|||||||
|
|
||||||
l_debug("");
|
l_debug("");
|
||||||
|
|
||||||
if (station->hidden_pending || station_is_busy(station))
|
if (station->hidden_pending)
|
||||||
return dbus_error_busy(message);
|
return dbus_error_busy(message);
|
||||||
|
|
||||||
if (!l_dbus_message_get_arguments(message, "s", &ssid))
|
if (!l_dbus_message_get_arguments(message, "s", &ssid))
|
||||||
|
Loading…
Reference in New Issue
Block a user