eiwd

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

commit cd3857f810242ff8511a148d996f935fbfd917d8
parent 15c09207776726dddcef2a72c7185080f65bc1d8
Author: James Prestwood <prestwoj@gmail.com>
Date:   Fri, 18 Feb 2022 11:55:04 -0800

hwsim: check if radio name was already set

This was caught by static analysis and shouldn't ever happen.

Diffstat:
Mtools/hwsim.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/tools/hwsim.c b/tools/hwsim.c @@ -639,6 +639,9 @@ static void get_radio_callback(struct l_genl_msg *msg, void *user_data) break; case HWSIM_ATTR_RADIO_NAME: + if (name) + break; + name = l_strndup(data, len); break; }