bluetooth: Fix typo when copying "uuids" property for a cloned device
authorVinicius Costa Gomes <vcgomes@gmail.com>
Mon, 12 Aug 2013 18:32:40 +0000 (15:32 -0300)
committerVinicius Costa Gomes <vcgomes@gmail.com>
Mon, 12 Aug 2013 18:32:40 +0000 (15:32 -0300)
bluetooth/bluetooth_api.js

index f036f9b..dc09f9a 100644 (file)
@@ -559,7 +559,7 @@ BluetoothDevice.prototype._clone = function() {
 
   var uuids_array = [];
   for (var i = 0; i < this.uuids.length; i++)
-    uuids_array[i] = this,uuids[i];
+    uuids_array[i] = this.uuids[i];
 
   _addConstProperty(clone, "uuids", uuids_array);