gianfar: fix double lock typo
authorDan Carpenter <error27@gmail.com>
Wed, 13 Oct 2010 09:19:55 +0000 (09:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Oct 2010 08:55:12 +0000 (01:55 -0700)
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>
drivers/net/gianfar_ethtool.c

index 9bda023..ddab703 100644 (file)
@@ -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],