Correct check that was broken even before to actually make the ieee8021x enable from proper setting. Reported-by: https://forum.pfsense.org/index.php?topic=74013.0

This commit is contained in:
Ermal 2014-03-28 15:19:39 +00:00
parent 544a89c5d1
commit fe291564ea

View File

@ -2551,7 +2551,7 @@ rsn_preauth_interfaces={$if}
EOD;
}
if (isset($wlcfg['wpa']['ieee8021x'])) {
if (is_array($wlcfg['wpa']['ieee8021x']) && isset($wlcfg['wpa']['ieee8021x']['enable'])) {
$wpa .= "ieee8021x=1\n";
if (!empty($wlcfg['auth_server_addr']) && !empty($wlcfg['auth_server_shared_secret'])) {