mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
Merge pull request #365 from glaszig/feature/connect-hidden-ssid
enable wifi client to connect to hidden ssid
This commit is contained in:
commit
93b458197a
@ -82,6 +82,7 @@ function DisplayWPAConfig()
|
|||||||
fwrite($wpa_file, "network={".PHP_EOL);
|
fwrite($wpa_file, "network={".PHP_EOL);
|
||||||
fwrite($wpa_file, "\tssid=\"".$ssid."\"".PHP_EOL);
|
fwrite($wpa_file, "\tssid=\"".$ssid."\"".PHP_EOL);
|
||||||
fwrite($wpa_file, "\tkey_mgmt=NONE".PHP_EOL);
|
fwrite($wpa_file, "\tkey_mgmt=NONE".PHP_EOL);
|
||||||
|
fwrite($wpa_file, "\tscan_ssid=1".PHP_EOL);
|
||||||
if (array_key_exists('priority', $network)) {
|
if (array_key_exists('priority', $network)) {
|
||||||
fwrite($wpa_file, "\tpriority=".$network['priority'].PHP_EOL);
|
fwrite($wpa_file, "\tpriority=".$network['priority'].PHP_EOL);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user