3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-10-04 02:18:49 +02:00

station: set autoconnect via setter

This updates the autoconnect property for the debug interface
This commit is contained in:
James Prestwood 2021-08-12 15:24:58 -07:00 committed by Denis Kenzior
parent 836f0d9a08
commit ea3ce7a119

View File

@ -2681,7 +2681,8 @@ void station_connect_network(struct station *station, struct network *network,
station_enter_state(station, STATION_STATE_CONNECTING); station_enter_state(station, STATION_STATE_CONNECTING);
station->connect_pending = l_dbus_message_ref(message); station->connect_pending = l_dbus_message_ref(message);
station->autoconnect = true;
station_set_autoconnect(station, true);
return; return;