eiwd

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

commit 6ad50ac49b4cb418c660ff9d977c6292b38d233b
parent f046bed225e0e9efad3103a4f761ec5956455df2
Author: Denis Kenzior <denkenz@gmail.com>
Date:   Mon,  8 Feb 2021 15:05:54 -0600

ap: Make sure strerror argument is positive

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

diff --git a/src/ap.c b/src/ap.c @@ -2783,7 +2783,7 @@ static void ap_stop_cb(struct l_genl_msg *msg, void *user_data) ap->start_stop_cmd_id = 0; if (error < 0) - l_error("STOP_AP failed: %s (%i)", strerror(error), error); + l_error("STOP_AP failed: %s (%i)", strerror(-error), -error); if (ap->stopped_func) ap->stopped_func(ap->user_data);