1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00

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

View File

@ -94,7 +94,7 @@ function SaveHostAPDConfig($wpa_array, $enc_types, $modes, $interfaces, $status)
return false; 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']."'"); error_log("Attempting to set channel to '".$_POST['channel']."'");
return false; return false;
} }