• Russell King's avatar
    [netdrvr pcmcia] fix hot unplugging · 373ed85e
    Russell King authored
    This patch fixes a deadlock which occurs when a PCMCIA card is
    physically removed, and the netdev interface is then downed.
    
    The problem occurs because these drivers delay the call of
    unregister_netdev until the netdev is downed.
    
    Since 2.6 now downs the interface on unregister_netdev(), we can
    call this function as soon as the card has been removed without
    waiting for the netdev to be downed.
    373ed85e
com20020_cs.c 13.8 KB