diff options
author | Dan Carpenter <error27@gmail.com> | 2010-10-13 11:19:55 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-18 10:55:12 +0200 |
commit | 9756403b16cfeda85efe77e62832a2f6b5752fdf (patch) | |
tree | e5ca56d44e5ad77ff4f2e56ac59d04ccd82b9383 /drivers/net/gianfar_ethtool.c | |
parent | ehea: Fix a checksum issue on the receive path (diff) | |
download | linux-9756403b16cfeda85efe77e62832a2f6b5752fdf.tar.xz linux-9756403b16cfeda85efe77e62832a2f6b5752fdf.zip |
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.c | 2 |
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) 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], |