bgmac: add generic ndo_validate_addr netdev ops
authorHauke Mehrtens <hauke@hauke-m.de>
Wed, 6 Feb 2013 04:44:59 +0000 (04:44 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Feb 2013 21:06:49 +0000 (16:06 -0500)
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bgmac.c

index c015239600a113d83bc97f2277063447667580f7..e0775c4192d75eeec4c74bd952f2d55997ef11bc 100644 (file)
@@ -1210,6 +1210,7 @@ static const struct net_device_ops bgmac_netdev_ops = {
        .ndo_stop               = bgmac_stop,
        .ndo_start_xmit         = bgmac_start_xmit,
        .ndo_set_mac_address    = bgmac_set_mac_address,
+       .ndo_validate_addr      = eth_validate_addr,
        .ndo_do_ioctl           = bgmac_ioctl,
 };