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 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'etc') 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'])) { -- cgit v1.1