summaryrefslogtreecommitdiffstats
path: root/drivers/net/gianfar_ethtool.c
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-10-13 09:19:55 +0000
committerDavid S. Miller <davem@davemloft.net>2010-10-18 01:55:12 -0700
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 9bda023c023..ddab7036e37 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)
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],