commit ea3ce7a11932808b2e1934de344154ff4c2937e8
parent 836f0d9a08cee9a99935ed2b238c51d71467da2c
Author: James Prestwood <prestwoj@gmail.com>
Date: Thu, 12 Aug 2021 15:24:58 -0700
station: set autoconnect via setter
This updates the autoconnect property for the debug interface
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/station.c b/src/station.c
@@ -2681,7 +2681,8 @@ void station_connect_network(struct station *station, struct network *network,
station_enter_state(station, STATION_STATE_CONNECTING);
station->connect_pending = l_dbus_message_ref(message);
- station->autoconnect = true;
+
+ station_set_autoconnect(station, true);
return;