From f5fb15b928ad37c8cc0bf642fb90b2ab1fa92cc8 Mon Sep 17 00:00:00 2001 From: Chris Buechler Date: Thu, 12 Mar 2015 20:55:46 -0500 Subject: [PATCH] "Auto" channel with hostap doesn't work correctly at the moment, force choosing a specific channel with hostap mode for now. --- usr/local/www/interfaces.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php index 8b30459b5e..a37de63abe 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();