diff --git a/lib/hci-socket/acl-stream.js b/lib/hci-socket/acl-stream.js index 0fef864f..1428c998 100644 --- a/lib/hci-socket/acl-stream.js +++ b/lib/hci-socket/acl-stream.js @@ -9,7 +9,7 @@ var Smp = require('./smp'); var AclStream = function(hci, handle, localAddressType, localAddress, remoteAddressType, remoteAddress) { this._hci = hci; this._handle = handle; - this.encypted = false; + this.encrypted = false; this._smp = new Smp(this, localAddressType, localAddress, remoteAddressType, remoteAddress); }; diff --git a/lib/hci-socket/bindings.js b/lib/hci-socket/bindings.js index 75c27908..0ad187c6 100644 --- a/lib/hci-socket/bindings.js +++ b/lib/hci-socket/bindings.js @@ -145,7 +145,7 @@ BlenoBindings.prototype.onLeConnComplete = function(status, handle, role, addres this.emit('accept', address); }; -BlenoBindings.prototype.onLeConnUpdateComplete = function(handle, interval, latency, supervisionTimeout) { +BlenoBindings.prototype.onLeConnUpdateComplete = function(status, handle, interval, latency, supervisionTimeout) { // no-op };