• Alan Stern's avatar
    [PATCH] USB: Use 8-byte hub status URB buffer · ccae2a30
    Alan Stern authored
    This patch changes the size of the buffer allocated for each hub's status
    URB from 3 bytes to 8.  The purpose is to avoid "babble" errors with
    certain buggy hubs.  Although I only know of one type of device which does
    this, the patch does solve its problem and it adds no overhead for anyone
    else since kmalloc doesn't dole out memory in chunks smaller than 8 bytes
    (32 actually, on a PC).
    
    This is a small thing, but it doesn't hurt and it will make life easier
    for a few people.
    Signed-off-by: default avatarAlan Stern <stern@rowland.harvard.edu>
    Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
    ccae2a30
hub.h 6.25 KB