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:
Denis Kenzior 2021-02-01 10:17:12 -06:00
parent fc10ee8745
commit 56538bf75b
1 changed files with 1 additions and 1 deletions

View File

@ -2674,7 +2674,7 @@ static struct l_dbus_message *station_dbus_connect_hidden_network(
l_debug("");
if (station->hidden_pending || station_is_busy(station))
if (station->hidden_pending)
return dbus_error_busy(message);
if (!l_dbus_message_get_arguments(message, "s", &ssid))