Skip to contentSkip to conversation

station: set autoconnect via setter

PATCH Applied James Prestwood 2 participants 2 messages Aug 12, 2021 – Aug 13, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 station: set autoconnect via setter

This updates the autoconnect property for the debug interface

---
 src/station.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
src/station.c +2 -1
index b2e12e9a..a1885cfa 100644
@@ -2695,7 +2695,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;
 
Signature · 1 line
2.31.1
#1 lore raw

Hi James,

Quoted 5 lines · James Prestwood

This updates the autoconnect property for the debug interface

---
  src/station.c | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)

Applied, thanks.

Regards,
-Denis