Correct non-ASCII SSID read from wpa_supplicant

This commit is contained in:
zbchristian 2021-08-18 20:37:45 +02:00
parent b4394513ca
commit 433434f4b7

View file

@ -18,6 +18,7 @@ function knownWifiStations(&$networks)
switch (strtolower($lineArr[0])) {
case 'ssid':
$ssid = trim($lineArr[1], '"');
$ssid = str_replace('P"','',$ssid);
$network['ssid'] = $ssid;
break;
case 'psk':