eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit 71384da38ff860ec326f03a1e2e36f654b4e8de9
parent a6c49722909db5de0d61b698e4f8e676998f606a
Author: James Prestwood <prestwoj@gmail.com>
Date:   Fri, 17 Sep 2021 15:58:37 -0700

network: add network_get_station

Diffstat:
Msrc/network.c | 5+++++
Msrc/network.h | 1+
2 files changed, 6 insertions(+), 0 deletions(-)

diff --git 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 @@ -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);