* [PATCH v6 2/5] network: add network_get_station
@ 2021-09-17 21:36 James Prestwood
0 siblings, 0 replies; only message in thread
From: James Prestwood @ 2021-09-17 21:36 UTC (permalink / raw)
To: iwd
[-- 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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-09-17 21:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-17 21:36 [PATCH v6 2/5] network: add network_get_station James Prestwood
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox