eiwd

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

commit 5e95e30e41326b8decf7894fdafda5f64c4c2d4b
parent 154e9f63bc5664a55e8cb79ad425cc36673ab47b
Author: Tim Kourt <tim.a.kourt@linux.intel.com>
Date:   Thu, 14 Mar 2019 16:06:18 -0700

scan: Fix misinterpretation of the channel as frequency

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

diff --git a/src/scan.c b/src/scan.c @@ -1662,9 +1662,12 @@ struct channels_5ghz_foreach_data { void *user_data; }; -static void scan_channels_5ghz_frequency(uint32_t freq, void *user_data) +static void scan_channels_5ghz_frequency(uint32_t channel, void *user_data) { const struct channels_5ghz_foreach_data *channels_5ghz_data = user_data; + uint32_t freq; + + freq = scan_channel_to_freq(channel, SCAN_BAND_5_GHZ); channels_5ghz_data->func(freq, channels_5ghz_data->user_data); }