Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d59b93a5 authored by Jerry Zhang's avatar Jerry Zhang Committed by android-build-merger
Browse files

Merge "adb: set max_rw to USB_FFS_BULK_SIZE explicitly"

am: b63d4735

Change-Id: I84f691f38c05a42fc7e4fd326b3be6d4732c32ca
parents 88af7ccd b63d4735
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -319,7 +319,7 @@ bool init_functionfs(struct usb_handle* h) {
    D("[ adb: cannot call endpoint alloc: errno=%d ]", errno);
    // Kernel pre-allocation could have failed for recoverable reasons.
    // Continue running with a safe max rw size.
    h->max_rw *= 2;
    h->max_rw = USB_FFS_BULK_SIZE;
    return true;

err: