eiwd

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

commit 5420fdaf01055e5ca75959c56e7a85ec949bf15a
parent d03ea531ded4ecbf59f3ed9a48d525cdae4e1e4f
Author: James Prestwood <prestwoj@gmail.com>
Date:   Mon,  2 Nov 2020 12:17:52 -0800

ap: fixup incorrect return

If an RTNL address change fails -EIO should be returned, not
false (aka "success").

Diffstat:
Msrc/ap.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/ap.c b/src/ap.c @@ -2412,7 +2412,7 @@ static int ap_load_profile_and_dhcp(struct ap_state *ap, bool *wait_dhcp) if (!ap->rtnl_add_cmd) { l_error("Failed to add IPv4 address"); - return false; + return -EIO; } ap->cleanup_ip = true;