aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/gianfar_ethtool.c
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-10-13 05:19:55 -0400
committerDavid S. Miller <davem@davemloft.net>2010-10-18 04:55:12 -0400
commit9756403b16cfeda85efe77e62832a2f6b5752fdf (patch)
treee5ca56d44e5ad77ff4f2e56ac59d04ccd82b9383 /drivers/net/gianfar_ethtool.c
parent71085ce8285dc5f3011694f6ba7259201135c6d6 (diff)
gianfar: fix double lock typo
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>
Diffstat (limited to 'drivers/net/gianfar_ethtool.c')
-rw-r--r--drivers/net/gianfar_ethtool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/gianfar_ethtool.c b/drivers/net/gianfar_ethtool.c
index 9bda023c0235..ddab7036e375 100644
--- a/drivers/net/gianfar_ethtool.c
+++ b/drivers/net/gianfar_ethtool.c
@@ -538,7 +538,7 @@ static int gfar_set_rx_csum(struct net_device *dev, uint32_t data)
538 538
539 unlock_tx_qs(priv); 539 unlock_tx_qs(priv);
540 unlock_rx_qs(priv); 540 unlock_rx_qs(priv);
541 local_irq_save(flags); 541 local_irq_restore(flags);
542 542
543 for (i = 0; i < priv->num_rx_queues; i++) 543 for (i = 0; i < priv->num_rx_queues; i++)
544 gfar_clean_rx_ring(priv->rx_queue[i], 544 gfar_clean_rx_ring(priv->rx_queue[i],