diff options
author | Erik Fonnesbeck <efonnes@gmail.com> | 2010-03-07 02:07:53 -0700 |
---|---|---|
committer | Erik Fonnesbeck <efonnes@gmail.com> | 2010-03-07 02:07:53 -0700 |
commit | ed459692edbd9ed816d11d5358d485661a73bc91 (patch) | |
tree | e455335cde3965bbd50fce36fb7e33bc6740f5b2 /etc | |
parent | a8f582879ea2243bf2a8d4b2e584fe9102052e2e (diff) | |
download | pfsense-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.inc | 7 |
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"; |