Files
bpfire/config/cfgroot
Leo-Andres Hofmann 6dd084c22d network-functions.pl: Improve wifi_get_link_quality
iwconfig doesn't return values for "Link Quality" if the interface
is disconnected, causing a division by zero error. If there are odd
values, the resulting percentage may contain many decimal places.

This patch makes wifi_get_link_quality return zero instead of failing
and rounds the percentage to a more meaningful integer.

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-05 08:50:05 +00:00
..
2006-07-17 18:18:39 +00:00
2021-04-08 10:11:34 +00:00
2021-04-08 10:11:34 +00:00
2006-06-10 19:21:32 +00:00
2006-05-21 20:54:29 +00:00
2018-06-25 10:53:53 +01:00
2010-08-23 16:13:43 +02:00
2006-06-13 14:15:51 +00:00