eiwd

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

commit f2961cd63ab9a28665fe06005ac6d9318aca88b5
parent 98620ecd11ad8c1ee8f7ee0961a30d206099ca77
Author: James Prestwood <prestwoj@gmail.com>
Date:   Tue, 26 Jul 2022 10:09:19 -0700

wiphy: constrain scan set by disabled frequencies

With the addition of disabled_freqs, wiphy_constrain_freq_set needs
to also remove any frequencies which are disabled.

Diffstat:
Msrc/wiphy.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/wiphy.c b/src/wiphy.c @@ -707,6 +707,7 @@ bool wiphy_constrain_freq_set(const struct wiphy *wiphy, struct scan_freq_set *set) { scan_freq_set_constrain(set, wiphy->supported_freqs); + scan_freq_set_subtract(set, wiphy->disabled_freqs); if (!scan_freq_set_get_bands(set)) /* The set is empty. */