Commit d47b65a8 authored by Eric - kg6wxc's avatar Eric - kg6wxc
Browse files

Merge branch 'NodePollingFix' into 'master'

bugfix: $meshRF was not always getting set correctly.

See merge request !8
parents cf16b9c9 7e01a588
......@@ -388,8 +388,11 @@ if ($getNodeInfo) {
else {
$chanbw = "0";
}
if ($meshRF == "off") {
if (isset($result['meshrf']['status'])) {
if ($result['meshrf']['status'] == "off") {
$meshRF = "off";
$ssid = "NONE";
}
}else {
$ssid = $result['meshrf']['ssid'];
}
......
......@@ -160,8 +160,11 @@ if($sysinfoJson === FALSE) {
else {
$chanbw = "0";
}
if ($meshRF == "off") {
if (isset($result['meshrf']['status'])) {
if ($result['meshrf']['status'] == "off") {
$meshRF = "off";
$ssid = "NONE";
}
}else {
$ssid = $result['meshrf']['ssid'];
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment