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:55:46 -0500 |
commit | 6f5607f5556ae65810fa6ba3e9df5480ba8cc894 (patch) | |
tree | cddea24249371bb34ca6037c16f90fc9e0be0059 /usr/local/www/interfaces.php | |
parent | ac0c435545c3eb9c553e556a328a93444c7d7f30 (diff) | |
download | pfsense-6f5607f5556ae65810fa6ba3e9df5480ba8cc894.zip pfsense-6f5607f5556ae65810fa6ba3e9df5480ba8cc894.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/www/interfaces.php')
-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(); |