From: James Prestwood <prestwoj@gmail.com>
To: iwd@lists.01.org
Subject: [PATCH] station: set autoconnect via setter
Date: Thu, 12 Aug 2021 15:24:58 -0700 [thread overview]
Message-ID: <20210812222458.744008-1-prestwoj@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 593 bytes --]
This updates the autoconnect property for the debug interface
---
src/station.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/station.c b/src/station.c
index b2e12e9a..a1885cfa 100644
--- a/src/station.c
+++ b/src/station.c
@@ -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;
--
2.31.1
next reply other threads:[~2021-08-12 22:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-12 22:24 James Prestwood [this message]
2021-08-13 15:43 ` [PATCH] station: set autoconnect via setter Denis Kenzior
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210812222458.744008-1-prestwoj@gmail.com \
--to=prestwoj@gmail.com \
--cc=iwd@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox