summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ifpps.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/ifpps.c b/ifpps.c
index dd03830..c411b3e 100644
--- a/ifpps.c
+++ b/ifpps.c
@@ -88,22 +88,6 @@ static void signal_handler(int number)
}
}
-static inline char *snr_to_str(int level)
-{
- if (level > 40)
- return "very good signal";
- if (level > 25 && level <= 40)
- return "good signal";
- if (level > 15 && level <= 25)
- return "poor signal";
- if (level > 10 && level <= 15)
- return "very poor signal";
- if (level <= 10)
- return "no signal";
-
- return "unknown";
-}
-
static inline int iswireless(const struct ifstat *stats)
{
return stats->wifi.bitrate > 0;