summaryrefslogtreecommitdiffstats
path: root/drivers/net/eql.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1999-06-13 16:29:25 +0000
committerRalf Baechle <ralf@linux-mips.org>1999-06-13 16:29:25 +0000
commitdb7d4daea91e105e3859cf461d7e53b9b77454b2 (patch)
tree9bb65b95440af09e8aca63abe56970dd3360cc57 /drivers/net/eql.c
parent9c1c01ead627bdda9211c9abd5b758d6c687d8ac (diff)
Merge with Linux 2.2.8.
Diffstat (limited to 'drivers/net/eql.c')
-rw-r--r--drivers/net/eql.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/eql.c b/drivers/net/eql.c
index abb7e6c78..165d4fefe 100644
--- a/drivers/net/eql.c
+++ b/drivers/net/eql.c
@@ -363,8 +363,8 @@ static int eql_slave_xmit(struct sk_buff *skb, struct device *dev)
eql_schedule_slaves (eql->queue);
- slave_dev = eql_best_slave_dev (eql->queue);
slave = eql_best_slave (eql->queue);
+ slave_dev = slave ? slave->dev : 0;
if ( slave_dev != 0 )
{