adb: Increase device descriptor buffer size in Linux host USB support
256 bytes wasn't big enough for some complicated USB configurations Change-Id: I31f7841953d73b06958f44040f58166b159faff4 Signed-off-by: Mike Lockwood <lockwood@android.com>
This commit is contained in:
parent
be1def8d43
commit
b596608f09
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ static void find_usb_device(const char *base,
|
|||
|
||||
// DBGX("[ scanning %s ]\n", busname);
|
||||
while((de = readdir(devdir))) {
|
||||
unsigned char devdesc[256];
|
||||
unsigned char devdesc[4096];
|
||||
unsigned char* bufptr = devdesc;
|
||||
unsigned char* bufend;
|
||||
struct usb_device_descriptor* device;
|
||||
|
|
Loading…
Reference in a new issue