summaryrefslogtreecommitdiffstats
path: root/usr/local/www/interfaces.php
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2015-03-12 20:55:46 -0500
committerChris Buechler <cmb@pfsense.org>2015-03-12 20:55:46 -0500
commit6f5607f5556ae65810fa6ba3e9df5480ba8cc894 (patch)
treecddea24249371bb34ca6037c16f90fc9e0be0059 /usr/local/www/interfaces.php
parentac0c435545c3eb9c553e556a328a93444c7d7f30 (diff)
downloadpfsense-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.php4
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();
OpenPOWER on IntegriCloud