summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2021-01-05 05:30:10 -0500
committerDaniel Micay <danielmicay@gmail.com>2021-01-05 05:34:47 -0500
commit6d39817d64c42705b8d21d1f3a81a274ec3c8eff (patch)
treeb57cfd989dfac727173cf41bc10fd0a9d046556e
parentfe063f50fec346b57453f541308ad5ffa7454398 (diff)
add missing transport reset for fastboot
-rw-r--r--static/js/webadb.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/static/js/webadb.js b/static/js/webadb.js
index 745cb5d3..2fbd307d 100644
--- a/static/js/webadb.js
+++ b/static/js/webadb.js
@@ -229,6 +229,8 @@
this.ep_in = get_ep_num(match.alt.endpoints, "in");
this.ep_out = get_ep_num(match.alt.endpoints, "out");
+
+ this.transport.reset();
};
Fastboot.WebUSB.Device.prototype.send = function(data) {