diff options
-rw-r--r-- | etc/inc/interfaces.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index e6b61e4..2237193 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -1642,6 +1642,8 @@ EOD; case 'hostap': if($wlcfg['wpa']['passphrase']) $wpa_passphrase = "wpa_passphrase={$wlcfg['wpa']['passphrase']}\n"; + else + $wpa_passphrase = ""; if (isset($wlcfg['wpa']['enable'])) { $wpa .= <<<EOD interface={$if} |