eiwd

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

commit 14217e6ca435bb356ce5816a366f30f260d1faf9
parent 07197e24fc96f834f126873e41edd4ec6b52ca09
Author: James Prestwood <prestwoj@gmail.com>
Date:   Fri, 15 Apr 2022 09:59:19 -0700

dpp: print error if CMD_FRAME fails

Diffstat:
Msrc/dpp.c | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/dpp.c b/src/dpp.c @@ -282,9 +282,10 @@ static void dpp_free(struct dpp_sm *dpp) static void dpp_send_frame_cb(struct l_genl_msg *msg, void *user_data) { struct dpp_sm *dpp = user_data; + int err = l_genl_msg_get_error(msg); - if (l_genl_msg_get_error(msg) < 0) { - l_error("Error sending frame"); + if (err < 0) { + l_error("Error sending frame (%d)", err); return; }