projects
/
profile
/
ivi
/
SettingsApp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixes TIVI-2570 - Unencrypted WiFi connection fails
[profile/ivi/SettingsApp.git]
/
js
/
api-connman.js
diff --git
a/js/api-connman.js
b/js/api-connman.js
index
e94e338
..
c991f25
100644
(file)
--- a/
js/api-connman.js
+++ b/
js/api-connman.js
@@
-77,8
+77,12
@@
settings.connman = (function() {
{
'Name': this.prop.Name,
'Type': this.prop.EncryptionMode,
- 'Passphrase': passphrase
}]
+
+ if (passphrase) {
+ info[1].Passphrase = passphrase;
+ }
+
wsAPI.sendRequest(WS_REQUEST_TYPE.CONNMAN_SERVICE, 'connect', info, success_cb, error_cb);
};