]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
ll_temac: Fix missing validate_addr hook
authorDenis Kirjanov <dkirjanov@kernel.org>
Sat, 10 Jul 2010 11:10:44 +0000 (11:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Jul 2010 03:21:42 +0000 (20:21 -0700)
Fix missing validate_addr hook

Signed-off-by: Denis Kirjanov <dkirjanov@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ll_temac_main.c

index 6ebf808bf440cb43bae1032f4d1e512a9dc090bd..b5c6279cc5a329be6b5dac9e209125e0071b4b6e 100644 (file)
@@ -915,6 +915,7 @@ static const struct net_device_ops temac_netdev_ops = {
        .ndo_stop = temac_stop,
        .ndo_start_xmit = temac_start_xmit,
        .ndo_set_mac_address = netdev_set_mac_address,
+       .ndo_validate_addr = eth_validate_addr,
        //.ndo_set_multicast_list = temac_set_multicast_list,
 #ifdef CONFIG_NET_POLL_CONTROLLER
        .ndo_poll_controller = temac_poll_controller,