diff options
author | Dan Carpenter <error27@gmail.com> | 2010-10-13 05:19:55 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-18 04:55:12 -0400 |
commit | 9756403b16cfeda85efe77e62832a2f6b5752fdf (patch) | |
tree | e5ca56d44e5ad77ff4f2e56ac59d04ccd82b9383 | |
parent | 71085ce8285dc5f3011694f6ba7259201135c6d6 (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>
-rw-r--r-- | drivers/net/gianfar_ethtool.c | 2 |
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) | |||
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], |