diff options
Diffstat (limited to 'net/batman-adv/soft-interface.c')
-rw-r--r-- | net/batman-adv/soft-interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/soft-interface.c b/net/batman-adv/soft-interface.c index 744a59b85e15..e7ee65dc20bf 100644 --- a/net/batman-adv/soft-interface.c +++ b/net/batman-adv/soft-interface.c | |||
@@ -884,7 +884,7 @@ static void batadv_softif_init_early(struct net_device *dev) | |||
884 | /* generate random address */ | 884 | /* generate random address */ |
885 | eth_hw_addr_random(dev); | 885 | eth_hw_addr_random(dev); |
886 | 886 | ||
887 | SET_ETHTOOL_OPS(dev, &batadv_ethtool_ops); | 887 | dev->ethtool_ops = &batadv_ethtool_ops; |
888 | 888 | ||
889 | memset(priv, 0, sizeof(*priv)); | 889 | memset(priv, 0, sizeof(*priv)); |
890 | } | 890 | } |