summaryrefslogtreecommitdiffstats
path: root/usr/local/www/interfaces.php
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2015-03-18 23:52:46 -0500
committerChris Buechler <cmb@pfsense.org>2015-03-18 23:55:53 -0500
commitd325e90818db2b22fc2562c38493769f217230f2 (patch)
treeae0e60fecbf807f273b029e2b502fba98c13f643 /usr/local/www/interfaces.php
parenteb94d976ddb560daf7e08cac066c44c1adaf39ba (diff)
downloadpfsense-d325e90818db2b22fc2562c38493769f217230f2.zip
pfsense-d325e90818db2b22fc2562c38493769f217230f2.tar.gz
Add option for wireless standard "auto", to omit "mode" entirely from ifconfig. This shouldn't be necessary, but specifying mode has proven to trigger driver problems that don't exist if it's left unspecified (such as FreeBSD PR 198680). Chosing "auto" fixes ath(4) BSS mode issues otherwise preventing it from connecting.
Diffstat (limited to 'usr/local/www/interfaces.php')
-rw-r--r--usr/local/www/interfaces.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php
index 2248aaa..8ca3247 100644
--- a/usr/local/www/interfaces.php
+++ b/usr/local/www/interfaces.php
@@ -2950,6 +2950,11 @@ $types6 = array("none" => gettext("None"), "staticv6" => gettext("Static IPv6"),
<select name="standard" class="formselect" id="standard">
<?php
$rowIndex = 0;
+ echo "<option ";
+ if ($pconfig['standard'] == "auto") {
+ echo "selected=\"selected\" ";
+ }
+ echo "value=\"auto\">auto</option>\n";
foreach($wl_modes as $wl_standard => $wl_channels) {
$rowIndex++;
echo "<option ";
OpenPOWER on IntegriCloud