]> git.ipfire.org Git - people/stevee/network.git/blobdiff - src/functions/functions.wpa_supplicant
wpa_supplication: Correctly escape SSIDs with spaces
[people/stevee/network.git] / src / functions / functions.wpa_supplicant
index 9450112759e14d8df75daa99a1ddb89f23941c3f..ff76415cfef38ca5ade476c1001e51874117da28 100644 (file)
@@ -159,7 +159,7 @@ wpa_supplicant_config_write() {
                fi
 
                if isset ssid; then
-                       print " ssid=${ssid}"
+                       print " ssid=\"${ssid}\""
                fi
 
                if isset key; then