Bug 825049 - Wi-Fi hotspot fails if password contains space. r=mrbkap

This commit is contained in:
Vincent Chang 2013-01-09 14:20:10 +00:00
parent 946b30d3d9
commit 03fd962b67

View File

@ -383,9 +383,9 @@ function getTxBytes(params, callback) {
function setAccessPoint(params, callback) {
let command = "softap set " + params.ifname +
" " + params.wifictrlinterfacename +
" " + params.ssid +
" \"" + params.ssid + "\"" +
" " + params.security +
" " + params.key +
" \"" + params.key + "\"" +
" " + "6 0 8";
return doCommand(command, callback);
}