"Auto" channel with hostap doesn't work correctly at the moment, force choosing a specific channel with hostap mode for now.

This commit is contained in:
Chris Buechler 2015-03-12 20:55:46 -05:00
parent 1483a8137f
commit f5fb15b928

View File

@ -776,6 +776,10 @@ if ($_POST['apply']) {
$input_errors[] = gettext("802.11n standards require enabling WME.");
}
}
if (isset($_POST['channel']) && $_POST['channel'] == "0") {
// auto channel with hostap is broken, prevent this for now.
$input_errors[] = gettext("A specific channel, not auto, must be selected for Access Point mode.");
}
}
do_input_validation($_POST, $reqdfields, $reqdfieldsn, $input_errors);
check_wireless_mode();