default any error conditions to -95

This commit is contained in:
Darryl Quinn 2015-12-13 15:07:46 -06:00
parent aa6dbe41d6
commit b2c4913680
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ sub get_realtime_signal()
if (-d "/sys/kernel/debug/ieee80211/phy0/netdev:wlan0/stations/$var") {
chomp($s = `cat /sys/kernel/debug/ieee80211/phy0/netdev:wlan0/stations/$var/last_signal`);
} else {
return ("-2","-2");
return ("-95","-95");
}
($junk, $n) = get_wifi_signal(get_interface("wifi"));
return ($s, $n);