• David Brownell's avatar
    usb gadget: cdc ethernet notification bugfix · 29bac7b7
    David Brownell authored
    Bugfix for the new CDC Ethernet code:  as part of activating the
    network interface's USB link, make sure its link management code
    knows whether the interface is open or not.
    
    Without this fix, the link won't work right when it's brought up
    before the link is active ... because the initial notification it
    sends will have the wrong link state (down, not up).  Makes it
    hard to bridge these links (on the host side), among other things.
    Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
    Cc: stable <stable@kernel.org> [2.6.27]
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    29bac7b7
u_ether.c 23.9 KB