From: James Prestwood <prestwoj at gmail.com>
To: iwd at lists.01.org
Subject: [PATCH v6 2/5] network: add network_get_station
Date: Fri, 17 Sep 2021 14:36:19 -0700 [thread overview]
Message-ID: <20210917213622.21881-2-prestwoj@gmail.com> (raw)
In-Reply-To: 20210917213622.21881-1-prestwoj@gmail.com
[-- Attachment #1: Type: text/plain, Size: 1136 bytes --]
---
src/network.c | 5 +++++
src/network.h | 1 +
2 files changed, 6 insertions(+)
diff --git a/src/network.c b/src/network.c
index 4768b872..f7172c78 100644
--- a/src/network.c
+++ b/src/network.c
@@ -392,6 +392,11 @@ struct l_settings *network_get_settings(const struct network *network)
return network->settings;
}
+struct station *network_get_station(const struct network *network)
+{
+ return network->station;
+}
+
static bool network_set_8021x_secrets(struct network *network)
{
const struct l_queue_entry *entry;
diff --git a/src/network.h b/src/network.h
index 5451815b..d69d63b0 100644
--- a/src/network.h
+++ b/src/network.h
@@ -44,6 +44,7 @@ enum security network_get_security(const struct network *network);
bool network_set_passphrase(struct network *network, const char *passphrase);
int network_get_signal_strength(const struct network *network);
struct l_settings *network_get_settings(const struct network *network);
+struct station *network_get_station(const struct network *network);
bool network_set_psk(struct network *network, const uint8_t *psk);
--
2.31.1
reply other threads:[~2021-09-17 21:36 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20210917213622.21881-2-prestwoj@gmail.com \
--to=iwd@lists.linux.dev \
/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