summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/net/rionet.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/net/rionet.c')
-rw-r--r--kernel/drivers/net/rionet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/drivers/net/rionet.c b/kernel/drivers/net/rionet.c
index aed2659fa..2e4ee0f91 100644
--- a/kernel/drivers/net/rionet.c
+++ b/kernel/drivers/net/rionet.c
@@ -276,7 +276,7 @@ static void rionet_outb_msg_event(struct rio_mport *mport, void *dev_id, int mbo
struct net_device *ndev = dev_id;
struct rionet_private *rnet = netdev_priv(ndev);
- spin_lock(&rnet->lock);
+ spin_lock(&rnet->tx_lock);
if (netif_msg_intr(rnet))
printk(KERN_INFO
@@ -295,7 +295,7 @@ static void rionet_outb_msg_event(struct rio_mport *mport, void *dev_id, int mbo
if (rnet->tx_cnt < RIONET_TX_RING_SIZE)
netif_wake_queue(ndev);
- spin_unlock(&rnet->lock);
+ spin_unlock(&rnet->tx_lock);
}
static int rionet_open(struct net_device *ndev)