eiwd

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

commit 6aeeb9eaada20e9f38a7bcf8e26ccf7be77b4abd
parent 99483489bc4f63bf8fefab6e2f914e9ba3c7e0e1
Author: James Prestwood <prestwoj@gmail.com>
Date:   Mon,  9 Sep 2019 16:03:59 -0700

knownnetworks: check for valid info before calling op

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

diff --git a/src/knownnetworks.c b/src/knownnetworks.c @@ -216,7 +216,7 @@ const struct iovec *network_info_get_extra_ies(const struct network_info *info, struct scan_bss *bss, size_t *num_elems) { - if (!info->ops->get_extra_ies) + if (!info || !info->ops->get_extra_ies) return NULL; return info->ops->get_extra_ies(info, bss, num_elems);