eiwd

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

commit 3dba205de1a4ee2f2f6adbf82cdf55371cd0e76b
parent 3b49a57bda080c2cb96bee0224881c8aa92752be
Author: James Prestwood <prestwoj@gmail.com>
Date:   Thu, 12 Sep 2019 09:53:33 -0700

hotspot: implement get_file_path op

Diffstat:
Msrc/hotspot.c | 8++++++++
1 file changed, 8 insertions(+), 0 deletions(-)

diff --git a/src/hotspot.c b/src/hotspot.c @@ -288,6 +288,13 @@ static const struct iovec *hotspot_network_get_ies( return iov; } +static char *hotspot_network_get_file_path(const struct network_info *info) +{ + struct hs20_config *config = l_container_of(info, struct hs20_config, + super); + return l_strdup(config->filename); +} + static struct network_info_ops hotspot_ops = { .open = hotspot_network_open, .touch = hotspot_network_touch, @@ -298,6 +305,7 @@ static struct network_info_ops hotspot_ops = { .get_name = hotspot_network_get_name, .get_type = hotspot_network_get_type, .get_extra_ies = hotspot_network_get_ies, + .get_file_path = hotspot_network_get_file_path, .match_hessid = hotspot_match_hessid, .match_roaming_consortium = hotspot_match_roaming_consortium,