Skip to content

Commit

Permalink
gianfar: fix double lock typo
Browse files Browse the repository at this point in the history
This should be a _restore() instead of a _save().

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Dan Carpenter authored and David S. Miller committed Oct 18, 2010
1 parent 71085ce commit 9756403
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/gianfar_ethtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ static int gfar_set_rx_csum(struct net_device *dev, uint32_t data)

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

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

0 comments on commit 9756403

Please sign in to comment.