netdev: restore MAC address set and validate operations
alloc_etherdev() used to install default implementations of these operations, but they must now be explicitly installed in struct net_device_ops. Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Šī revīzija ir iekļauta:

revīziju iesūtīja
David S. Miller

vecāks
f2ba025b20
revīzija
240c102d9c
@@ -2707,6 +2707,7 @@ static const struct net_device_ops gelic_wl_netdevice_ops = {
|
||||
.ndo_set_multicast_list = gelic_net_set_multi,
|
||||
.ndo_change_mtu = gelic_net_change_mtu,
|
||||
.ndo_tx_timeout = gelic_net_tx_timeout,
|
||||
.ndo_set_mac_address = eth_mac_addr,
|
||||
.ndo_validate_addr = eth_validate_addr,
|
||||
#ifdef CONFIG_NET_POLL_CONTROLLER
|
||||
.ndo_poll_controller = gelic_net_poll_controller,
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user