commit | d1d5f5ab6988f441780d95ddcb566a2d9030f3d9 | [log] [tgz] |
---|---|---|
author | Roy Luo <royluo@google.com> | Tue Jun 20 21:44:53 2023 +0000 |
committer | Roy Luo <royluo@google.com> | Tue Jun 20 21:44:53 2023 +0000 |
tree | d9fe2da0103e9fab2df316f1517219f044f34ae2 | |
parent | 46477f1d820a0825c531ce4838288f6f8defe36d [diff] |
fastboot: remove retries on invalid IO iterator in OSX When IOServiceGetMatchingServices returns an invalid iterator, IOIteratorReset doesn't help. Break the loop to prevent being stuck in the reset loop forever. This should be fine as the open_device() call in the upper layer is already doing retries. Bug: 286495045 Test: fastboot update Change-Id: Ia58fa9285640be34aa22cd77e4f58cc9092679a4