From a596568fbc10941a0184158891b38c81d2db04e5 Mon Sep 17 00:00:00 2001 From: billz Date: Mon, 30 Dec 2019 04:39:37 +0000 Subject: [PATCH] Revert "Allow channel input up to 64 (testing)" This reverts commit 40bc21a04b6b9d72c3d286cb700670c8e14b3d4a. --- includes/hostapd.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/hostapd.php b/includes/hostapd.php index 0015d711..418286fb 100755 --- a/includes/hostapd.php +++ b/includes/hostapd.php @@ -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; }