Commit 0a5839d9 authored by Hideaki Yoshifuji's avatar Hideaki Yoshifuji Committed by David S. Miller

[ARCNET]: Fix crash in 2.6.8.1

>  I am trying to upgrade my labtop to 2.6.8.1. I have ArcNet COM20020
> PCMCIA card. After editing /etc/pcmcia/config to make it know about the
> module, it finds the com20020 with no problems but as soon as I try to
> start the network device the ifconfig process crashes.
:
> I fixed it by changing
> 	lp->hw.open(dev);
> to
> 	if(lp->hw.open) {
> 		lp->hw.open(dev);
> 	}
Signed-off-by: default avatarHideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9f9bf70c
......@@ -401,6 +401,7 @@ static int arcnet_open(struct net_device *dev)
lp->rfc1201.sequence = 1;
/* bring up the hardware driver */
if (lp->hw.open)
lp->hw.open(dev);
if (dev->dev_addr[0] == 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment