wireless: Show signal quality in percent
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 7 Aug 2017 13:34:04 +0000 (13:34 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 7 Aug 2017 13:34:04 +0000 (13:34 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/hooks/zones/wireless

index 962f5fc..bd202f2 100644 (file)
@@ -143,7 +143,7 @@ hook_status() {
        cli_print_fmt1 3 "Noise" \
                "$(wpa_cli_bss_get_noise ${zone} ${bssid})"
        cli_print_fmt1 3 "Quality" \
-               "$(wpa_cli_bss_get_quality ${zone} ${bssid})"
+               "$(wpa_cli_bss_get_quality ${zone} ${bssid})%%"
        cli_print_fmt1 3 "Flags" \
                "$(wpa_cli_bss_get_flags ${zone} ${bssid})"
        cli_space