eiwd

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

commit 6ecc3a20b866140de1515316a75260991b421b08
parent 5c9e6b255f84f9173ab3a21996709ef6b51eef38
Author: Denis Kenzior <denkenz@gmail.com>
Date:   Wed,  3 Apr 2019 11:54:41 -0500

scan: Fix warning

CC       src/scan.o
src/scan.c: In function ‘scan_bss_compute_rank’:
src/scan.c:1048:4: warning: this decimal constant is unsigned only in ISO C90
    factor = factor * data_rate / 2340000000 +

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

diff --git a/src/scan.c b/src/scan.c @@ -1045,7 +1045,7 @@ static void scan_bss_compute_rank(struct scan_bss *bss) /* * Maximum rate is 2340Mbps (VHT) */ - factor = factor * data_rate / 2340000000 + + factor = factor * data_rate / 2340000000U + RANK_MIN_SUPPORTED_RATE_FACTOR; rank *= factor; } else