PERFORCE change 154927 for review
Weongyo Jeong
weongyo at FreeBSD.org
Thu Dec 18 03:58:07 PST 2008
http://perforce.freebsd.org/chv.cgi?CH=154927
Change 154927 by weongyo at weongyo_ws on 2008/12/18 11:57:57
fix a fault that sometimes ndis_getstate_80211() function is called
just after the attach is done.
Should be committed into HEAD.
Affected files ...
.. //depot/projects/ndisusb/sys/dev/if_ndis/if_ndis.c#10 edit
Differences ...
==== //depot/projects/ndisusb/sys/dev/if_ndis/if_ndis.c#10 (text+ko) ====
@@ -2699,6 +2699,8 @@
ifp = sc->ifp;
ic = ifp->if_l2com;
vap = TAILQ_FIRST(&ic->ic_vaps);
+ if (vap == NULL)
+ return;
ni = vap->iv_bss;
if (!NDIS_INITIALIZED(sc))
More information about the p4-projects
mailing list