Set buffer before UsbRequest is queued
Otherwise a second thread might dequeue() it in between native_queue_direct and mBuffer = buffer. If that happens the dequeue operation does mBuffer.isDirect which triggers a NPE. Fixes: 30914003 Change-Id: I3ca3b72db8f53a14be1c5f0e37f8924eba44b9bc
Loading
Please register or sign in to comment