Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b9873841 authored by Lennert Buytenhek's avatar Lennert Buytenhek Committed by Lennert Buytenhek
Browse files

mv643xx_eth: fix 'netdev_priv(dev) == dev->priv' assumption

parent 24342c34
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1277,7 +1277,7 @@ static void mv643xx_eth_get_ethtool_stats(struct net_device *dev,
					  struct ethtool_stats *stats,
					  struct ethtool_stats *stats,
					  uint64_t *data)
					  uint64_t *data)
{
{
	struct mv643xx_eth_private *mp = dev->priv;
	struct mv643xx_eth_private *mp = netdev_priv(dev);
	int i;
	int i;


	mib_counters_update(mp);
	mib_counters_update(mp);