diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-10-09 05:10:47 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-10-09 05:10:47 +0200 |
commit | 4040ea7a5eda976098131794e8df3b162cafa8f4 (patch) | |
tree | 99416d4a3ba5ed78a5a402a6bde4599448a2051f /sys/src/9/pc/wifi.h | |
parent | b29e414bc64537c9af8d5ebd8f73775bceaa5fa2 (diff) |
wifi: quote value of parsed ether options
introduce wificfg() function to convert ether->opt[] strings
to wifictl messages, which needs quoting for the value. so
etherX=type=iwl essid='something with spaces' works.
Diffstat (limited to 'sys/src/9/pc/wifi.h')
-rw-r--r-- | sys/src/9/pc/wifi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/src/9/pc/wifi.h b/sys/src/9/pc/wifi.h index d9a8514a6..bca2e07e9 100644 --- a/sys/src/9/pc/wifi.h +++ b/sys/src/9/pc/wifi.h @@ -95,3 +95,4 @@ void wifitxfail(Wifi*, Block*); long wifistat(Wifi*, void*, long, ulong); long wifictl(Wifi*, void*, long); +void wificfg(Wifi*, char*); |