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 5c0db61d7b
commit 86501b5269

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);
}