Changeset 3413

Show
Ignore:
Timestamp:
08/06/07 15:15:35 (1 year ago)
Author:
tg
Message:

oops

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt/target/linux/generic-2.6/patches/810-hispeed_usbserial.patch

    r3364 r3413  
    1010  
    1111 static int debug; 
    12 +static int maxpksz = 0; 
     12+static int max_pksz = 0; 
    1313 static struct usb_serial *serial_table[SERIAL_TTY_MINORS];     /* initially all NULL */ 
    1414 static LIST_HEAD(usb_serial_driver_list); 
     
    1818                } 
    1919                buffer_size = le16_to_cpu(endpoint->wMaxPacketSize); 
    20 +               if (buffer_size < maxpksz) 
    21 +                       buffer_size = maxpksz; 
     20+               if (buffer_size < max_pksz) 
     21+                       buffer_size = max_pksz; 
    2222                port->bulk_in_size = buffer_size; 
    2323                port->bulk_in_endpointAddress = endpoint->bEndpointAddress;