summaryrefslogtreecommitdiffstats
path: root/fastboot/protocol.c
diff options
context:
space:
mode:
authorBadhri Jagan Sridharan <badhri@google.com>2014-12-05 00:15:03 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-12-05 00:15:03 +0000
commitc8e84fe7d18cba7771f7e09888ba93a34ecede43 (patch)
tree48d52ab68506f37cc5acc2b42657fc8d1b6082b8 /fastboot/protocol.c
parent22bb896b74c3ac96de5844f83bb8110ba979cc46 (diff)
parentad32ebecc9a0d781f66f39f467be0b30cc05f65b (diff)
downloadsystem_core-c8e84fe7d18cba7771f7e09888ba93a34ecede43.zip
system_core-c8e84fe7d18cba7771f7e09888ba93a34ecede43.tar.gz
system_core-c8e84fe7d18cba7771f7e09888ba93a34ecede43.tar.bz2
am ad32ebec: am 97133621: Merge "system: core: fastboot: Increase USB protocol buffer size to 1024"
* commit 'ad32ebecc9a0d781f66f39f467be0b30cc05f65b': system: core: fastboot: Increase USB protocol buffer size to 1024
Diffstat (limited to 'fastboot/protocol.c')
-rw-r--r--fastboot/protocol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fastboot/protocol.c b/fastboot/protocol.c
index 84e9837..10a84c1 100644
--- a/fastboot/protocol.c
+++ b/fastboot/protocol.c
@@ -216,7 +216,7 @@ int fb_download_data(usb_handle *usb, const void *data, unsigned size)
}
}
-#define USB_BUF_SIZE 512
+#define USB_BUF_SIZE 1024
static char usb_buf[USB_BUF_SIZE];
static int usb_buf_len;