Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Jun-ichiro itojun Hagino <itojun@netbsd.org>
List: source-changes
Date: 03/26/2000 02:09:35
Module Name:	syssrc
Committed By:	itojun
Date:		Sun Mar 26 10:09:35 UTC 2000

Modified Files:
	syssrc/sys/dev/ic: awi.c

Log Message:
don't call if_deactivate with NULL ifp.
sc->sc_ifp can be NULL if awi_pcmcia_attach() fails, so you will see panic
if you remove a card which fails on attach.


To generate a diff of this commit:
cvs rdiff -r1.12 -r1.13 syssrc/sys/dev/ic/awi.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.