+16
−2
+4
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Unlike the read() and write() calls, the ioctl() call does not wait for endpoints to be enabled, which is problematic if ioctls() are the first calls on the usb connection, since they may be called before the endpoints are set up. We'll have to retry if this causes them to fail. Bug: 34822471 Test: Change configs to mtp and ptp Change-Id: I89610b9614c33f0b22535cc68cd0c9b502cb55c9