eiwd

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

commit 226fd5c0b8ff674302df5b32c3e43b011a316dda
parent 6a421a1254a96343ba86f561b69c3a3371ff89ee
Author: James Prestwood <prestwoj@gmail.com>
Date:   Fri,  7 Jan 2022 09:58:48 -0800

dpp: unref DPP frame if sending fails

Diffstat:
Msrc/dpp.c | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/dpp.c b/src/dpp.c @@ -219,8 +219,10 @@ static void dpp_send_frame(uint64_t wdev_id, struct iovec *iov, size_t iov_len, l_debug("Sending frame on frequency %u", freq); - if (!l_genl_family_send(nl80211, msg, dpp_send_frame_cb, NULL, NULL)) + if (!l_genl_family_send(nl80211, msg, dpp_send_frame_cb, NULL, NULL)) { l_error("Could not send CMD_FRAME"); + l_genl_msg_unref(msg); + } } static size_t dpp_build_header(const uint8_t *src, const uint8_t *dest,