[PATCH] fix bug in drivers/net/cs89x0.c:set_mac_address()
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.
Showing
Please register or sign in to comment