diff options
author | Chris Buechler <cmb@pfsense.org> | 2015-03-12 20:55:46 -0500 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2015-03-12 20:56:31 -0500 |
commit | f5fb15b928ad37c8cc0bf642fb90b2ab1fa92cc8 (patch) | |
tree | e039d14ccdf0f478bd471662922be4db975c006f /usr/local | |
parent | 1483a8137f9bc1fb3c7b8a89c77f47b845eda48e (diff) | |
download | pfsense-f5fb15b928ad37c8cc0bf642fb90b2ab1fa92cc8.zip pfsense-f5fb15b928ad37c8cc0bf642fb90b2ab1fa92cc8.tar.gz |
"Auto" channel with hostap doesn't work correctly at the moment, force choosing a specific channel with hostap mode for now.
Diffstat (limited to 'usr/local')
-rw-r--r-- | usr/local/www/interfaces.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php index 8b30459..a37de63 100644 --- a/usr/local/www/interfaces.php +++ b/usr/local/www/interfaces.php @@ -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(); |