ref: 2310258d576c0ee688025ef8bd854640621a833e
parent: 73eea8402b54fca70d8f5eb414bf1bad00121665
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Nov 16 19:12:55 EST 2014
wpa: fix quoting for essid with spaces
--- a/sys/src/cmd/aux/wpa.c
+++ b/sys/src/cmd/aux/wpa.c
@@ -600,7 +600,7 @@
sysfatal("dial: %r");
if(essid[0] != 0){
- if(fprint(cfd, "essid %s", essid) < 0)
+ if(fprint(cfd, "essid %q", essid) < 0)
sysfatal("write essid: %r");
} else {
getessid();