summaryrefslogtreecommitdiffstats
path: root/usr
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:52:46 -0500
commitc1ef7cfb41497068d0d0fea6817eb370d91baef3 (patch)
tree1d59a871be5e1acf08ca6d06bb379e8ba7f5c4e6 /usr
parent57413f7fd1e64102b5feaef681808286036ce4f6 (diff)
downloadpfsense-c1ef7cfb41497068d0d0fea6817eb370d91baef3.zip
pfsense-c1ef7cfb41497068d0d0fea6817eb370d91baef3.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')
-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