Rename constant for clarity

This commit is contained in:
billz
2020-06-09 15:34:19 +01:00
parent 2ca9bf5b6f
commit 8ae1e5a8f2
3 changed files with 3 additions and 3 deletions

View File

@@ -143,7 +143,7 @@ function getWifiInterface()
exec("iw dev | awk '$1==\"Interface\" && $2!=\"$iface\" {print $2}'",$iface2);
$_SESSION['ap_interface'] = empty($iface2) ? $iface : trim($iface2[0]);
} else { // fallback to default
$_SESSION['ap_interface'] = RASPI_WIFI_CLIENT_INTERFACE;
$_SESSION['ap_interface'] = RASPI_WIFI_AP_INTERFACE;
}
}
}