diff --git a/includes/hostapd.php b/includes/hostapd.php index 0f2efb79..a2e9bf79 100755 --- a/includes/hostapd.php +++ b/includes/hostapd.php @@ -122,14 +122,22 @@ SelectorOptions('hw_mode', $arr80211Standard, $selectedHwMode); ?> @@ -490,7 +498,7 @@ function SaveHostAPDConfig($wpa_array, $enc_types, $modes, $interfaces, $status) return false; } - if (intval($_POST['channel']) < 1 || intval($_POST['channel']) > 13) { + if (intval($_POST['channel']) < 1 || intval($_POST['channel']) > 14) { error_log("Attempting to set channel to '".$_POST['channel']."'"); return false; }