3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 14:49:24 +01:00

station: Return NotHidden error

Commit d372d59bea checks whether a hidden network had a previous
connection attempt and re-tries.  However, it inadvertently dropped
handling of a condition where a non-hidden network SSID is provided to
ConnectHiddenNetwork.  Fix that.

Fixes: d372d59bea ("station: Allow ConnectHiddenNetwork to be retried")
This commit is contained in:
Denis Kenzior 2021-02-03 09:12:08 -06:00
parent 078a41b011
commit c3f76cb5a5

View File

@ -2722,6 +2722,8 @@ static struct l_dbus_message *station_dbus_connect_hidden_network(
return network_connect_new_hidden_network(network,
message);
}
return dbus_error_not_hidden(message);
}
params.ssid = ssid;