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

Commit 8539992f authored by Michal Simek's avatar Michal Simek Committed by David S. Miller
Browse files

ll_temac: Fix poll implementation



Functions ll_temac_rx_irq and ll_temac_tx_irq
have pointer to net_device as second parameter not
pointer to temac_local.

Signed-off-by: default avatarMichal Simek <monstr@monstr.eu>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 502820a3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -902,8 +902,8 @@ temac_poll_controller(struct net_device *ndev)
	disable_irq(lp->tx_irq);
	disable_irq(lp->rx_irq);

	ll_temac_rx_irq(lp->tx_irq, lp);
	ll_temac_tx_irq(lp->rx_irq, lp);
	ll_temac_rx_irq(lp->tx_irq, ndev);
	ll_temac_tx_irq(lp->rx_irq, ndev);

	enable_irq(lp->tx_irq);
	enable_irq(lp->rx_irq);