summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErik Fonnesbeck <efonnes@gmail.com>2010-03-07 02:07:53 -0700
committerErik Fonnesbeck <efonnes@gmail.com>2010-03-07 02:07:53 -0700
commited459692edbd9ed816d11d5358d485661a73bc91 (patch)
treee455335cde3965bbd50fce36fb7e33bc6740f5b2 /etc
parenta8f582879ea2243bf2a8d4b2e584fe9102052e2e (diff)
downloadpfsense-ed459692edbd9ed816d11d5358d485661a73bc91.zip
pfsense-ed459692edbd9ed816d11d5358d485661a73bc91.tar.gz
Add 802.11n-only option. Hide options specific to 802.11g or 802.11n when those modes aren't available.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/interfaces.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 88fc9e2..a651275 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -1552,6 +1552,13 @@ function interface_wireless_configure($if, &$wl, &$wlcfg) {
$wlcmd[] = "-pureg";
}
+ /* handle puren (802.11n) only option */
+ if(isset($wlcfg['puren']['enable'])) {
+ $wlcmd[] = "puren";
+ } else {
+ $wlcmd[] = "-puren";
+ }
+
/* enable apbridge option */
if(isset($wlcfg['apbridge']['enable'])) {
$wlcmd[] = "apbridge";
OpenPOWER on IntegriCloud