eiwd

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

commit 8cb134f9359f020036b4bf6ebe4143769e1ea037
parent 46037c428ccae8b66b276610f69b0793739b627a
Author: James Prestwood <prestwoj@gmail.com>
Date:   Fri, 22 Aug 2025 12:51:06 -0700

scan: check support before using colocated flag

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

diff --git a/src/scan.c b/src/scan.c @@ -414,7 +414,8 @@ static struct l_genl_msg *scan_build_cmd(struct scan_context *sc, if (params->ap_scan) flags |= NL80211_SCAN_FLAG_AP; - flags |= NL80211_SCAN_FLAG_COLOCATED_6GHZ; + if (wiphy_supports_colocated_flag(sc->wiphy)) + flags |= NL80211_SCAN_FLAG_COLOCATED_6GHZ; if (flags) l_genl_msg_append_attr(msg, NL80211_ATTR_SCAN_FLAGS, 4, &flags);