• Alan Stern's avatar
    [PATCH] USB: Interface/altsetting update for ISDN hisax driver · 26375db9
    Alan Stern authored
    On Mon, 8 Mar 2004, Greg KH wrote:
    
    > Oh, could you look at drivers/isdn/hisax/hfc_usb.c if you get a chance?
    > I tried to figure out the mess there with regards to act_altsetting, but
    > gave up :(
    
    You're right, it is a mess.  Beats me why they didn't use a plain old
    "for" statement to do that altsetting loop.  Probably the most confusing
    part is where the code needlessly resets intf->act_altsetting.
    
    Anyway, this patch sets things right.  I haven't tried to compile it, but
    any errors ought to be pretty small, obvious, and easy to fix.
    
    My intention was to go through the files under driver/usb (in alphabetical
    order!) and then do the ones outside that subtree -- I've got a little
    list.  But it's no problem to take care of this one first.
    26375db9
hfc_usb.c 52.8 KB