diff options
author | Scott Ullrich <sullrich@ScottUllrichImac.local> | 2010-08-11 16:21:32 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2010-08-11 16:21:57 -0400 |
commit | ea62cd32700aac6bb62311813775b5d584812d92 (patch) | |
tree | 0fa3053ff6c2834ab42ea5d47d6a748210130655 /usr/local/www | |
parent | ac8c5e564341279a3a82700ab6dc3ebd61ae52da (diff) | |
download | pfsense-ea62cd32700aac6bb62311813775b5d584812d92.zip pfsense-ea62cd32700aac6bb62311813775b5d584812d92.tar.gz |
No need to set enable
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/interfaces.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php index 3b96743..db6cee4 100755 --- a/usr/local/www/interfaces.php +++ b/usr/local/www/interfaces.php @@ -275,7 +275,7 @@ if (isset($wancfg['wireless'])) { $pconfig['wpa_strict_rekey'] = isset($wancfg['wireless']['wpa']['wpa_strict_rekey']); $pconfig['passphrase'] = $wancfg['wireless']['wpa']['passphrase']; $pconfig['ieee8021x'] = isset($wancfg['wireless']['wpa']['ieee8021x']['enable']); - $pconfig['rsn_preauth'] = isset($wancfg['wireless']['wpa']['rsn_preauth']['enable']); + $pconfig['rsn_preauth'] = isset($wancfg['wireless']['wpa']['rsn_preauth']); $pconfig['ext_wpa_sw'] = $wancfg['wireless']['wpa']['ext_wpa_sw']; $pconfig['wpa_enable'] = isset($wancfg['wireless']['wpa']['enable']); } @@ -747,9 +747,9 @@ function handle_wireless_post() { else if (isset($wancfg['wireless']['wpa']['mac_acl_enable'])) unset($wancfg['wireless']['wpa']['mac_acl_enable']); if ($_POST['rsn_preauth'] == "yes") - $wancfg['wireless']['wpa']['rsn_preauth']['enable'] = true; + $wancfg['wireless']['wpa']['rsn_preauth'] = true; else - unset($wancfg['wireless']['wpa']['rsn_preauth']['enable']); + unset($wancfg['wireless']['wpa']['rsn_preauth']); if ($_POST['ieee8021x'] == "yes") $wancfg['wireless']['wpa']['ieee8021x']['enable'] = true; else if (isset($wancfg['wireless']['wpa']['ieee8021x']['enable'])) |