From: Siraaj Khandkar Date: Sun, 10 Mar 2019 04:44:26 +0000 (-0500) Subject: Fix wifi link status X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=50401a4d45c16bd92210552252a10b7ea9b5c527;p=khatus.git Fix wifi link status --- diff --git a/x2/src/awk/exe/bar.awk b/x2/src/awk/exe/bar.awk index 08750d4..294dc45 100644 --- a/x2/src/awk/exe/bar.awk +++ b/x2/src/awk/exe/bar.awk @@ -183,7 +183,7 @@ function bar_make_status_net_wifi(interface, src) { } function bar_make_status_net_wifi_link(interface, link) { - cache_get_fmt_def(link, "khatus_sensor_net_wifi_status", "link" Kfs interface, 10) + cache_get(link, "khatus_sensor_net_wifi_status", "link" Kfs interface, 10) if (!link["is_expired"] && link["value"] > 0) return sprintf("%d%%", link["value"]) else