commit | 965dd146872e41e6da21cfbad3331e5e87990f7b | [log] [tgz] |
---|---|---|
author | ziyiw <ziyiw@google.com> | Tue Dec 19 21:19:24 2023 +0000 |
committer | ziyiw <ziyiw@google.com> | Tue Dec 19 21:19:24 2023 +0000 |
tree | c34fc96b9c1d2dbecfeffcb5c4698271034c41f4 | |
parent | 141967eed6246c72a30147c5f17e87b75ddd6d08 [diff] |
Send DeviceResetCmd after task handle is dropped. Previously the command was sent before the task handle is dropped. This may cause race condition that the DeviceResetRsp may be consumed by the reader created in open(). In this case, the consume_device_reset_rsp_and_ntf will wait until timeout. Bug: 316421259 Test: manual Change-Id: I680d3ea79344f9b5f07a36877837bfc1b8e0532a