Revert "Allow channel input up to 64 (testing)"

This reverts commit 40bc21a04b.
This commit is contained in:
billz 2019-12-30 04:39:37 +00:00
parent 40bc21a04b
commit a596568fbc
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ function SaveHostAPDConfig($wpa_array, $enc_types, $modes, $interfaces, $status)
return false;
}
if (intval($_POST['channel']) < 1 || intval($_POST['channel']) > 64) {
if (intval($_POST['channel']) < 1 || intval($_POST['channel']) > 48) {
error_log("Attempting to set channel to '".$_POST['channel']."'");
return false;
}