From ae2db699d60e7f397d5ac39deb4b1d5c52bc907b Mon Sep 17 00:00:00 2001 From: Chris Buechler Date: Fri, 13 Mar 2015 03:15:10 -0500 Subject: txpower was disabled for good reason it would appear, it triggers syntax errors in some configurations. Disable it again since it's been disabled for years, and comment out the user-facing config portion for now since it doesn't do anything. Ticket #4516 --- etc/inc/interfaces.inc | 4 +++- usr/local/www/interfaces.php | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 8fbedb9..5571de1 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -2416,9 +2416,11 @@ function interface_wireless_configure($if, &$wl, &$wlcfg) { } /* handle txpower setting */ + // or don't. this has issues at the moment. + /* if($wlcfg['txpower'] <> "" && is_numeric($wlcfg['txpower'])) { $wlcmd[] = "txpower " . escapeshellarg($wlcfg['txpower']); - } + }*/ /* handle wme option */ if(isset($wlcfg['wme']['enable'])) { diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php index 0e32d7f..2248aaa 100644 --- a/usr/local/www/interfaces.php +++ b/usr/local/www/interfaces.php @@ -2986,6 +2986,7 @@ $types6 = array("none" => gettext("None"), "staticv6" => gettext("Static IPv6"), + @@ -3002,7 +3003,8 @@ $types6 = array("none" => gettext("None"), "staticv6" => gettext("Static IPv6"),
- + */ + ?> -- cgit v1.1