• Andrew Morton's avatar
    [PATCH] fix bug in drivers/net/cs89x0.c:set_mac_address() · 77b3055a
    Andrew Morton authored
    From: Bernardo Innocenti <bernie@develer.com>
    
    the following patch fixes a bug in the CS89xx net device which would set
    new MAC address through SIOCSIFHWADDR _only_ when net_debug is set, which
    is obviously not what it was meant to do.  The original code bogusly
    interpreted the addr argument as a buffer containing the MAC address
    instead of a struct sockaddr.
    77b3055a
cs89x0.c 55.3 KB