am b596608f: adb: Increase device descriptor buffer size in Linux host USB support

* commit 'b596608f098937049fd98c5896cf72ebbf3584ae':
  adb: Increase device descriptor buffer size in Linux host USB support
This commit is contained in:
Mike Lockwood 2011-01-08 13:14:13 -08:00 committed by Android Git Automerger
commit 9315c4bed6
1 changed files with 1 additions and 1 deletions

View File

@ -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;