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

Commit 9756403b authored by Dan Carpenter's avatar Dan Carpenter Committed by David S. Miller
Browse files

gianfar: fix double lock typo



This should be a _restore() instead of a _save().

Signed-off-by: default avatarDan Carpenter <error27@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 71085ce8
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -538,7 +538,7 @@ static int gfar_set_rx_csum(struct net_device *dev, uint32_t data)


		unlock_tx_qs(priv);
		unlock_tx_qs(priv);
		unlock_rx_qs(priv);
		unlock_rx_qs(priv);
		local_irq_save(flags);
		local_irq_restore(flags);


		for (i = 0; i < priv->num_rx_queues; i++)
		for (i = 0; i < priv->num_rx_queues; i++)
			gfar_clean_rx_ring(priv->rx_queue[i],
			gfar_clean_rx_ring(priv->rx_queue[i],