Subject: Re: 11 Jun 2005 ath/net80211: fixes WEP
To: None <tech-net@netbsd.org, current-users@netbsd.org>
From: Steve Woodford <scw@netbsd.org>
List: current-users
Date: 06/14/2005 08:53:15
David,

My DWL-AG650 card now works with WEP enabled. However, as Dan reported, 
my wi(4) fails in wi_attach().

I traced this to an attempt to dereference a NULL 'ifp'. It looks like 
wi_attach() is expected to do something along the lines of:

 ifp = ic->ic_ifp = &sc->sc_ec.ec_if;

Right now it assumes ic->ic_ifp is already initialised...

Cheers, Steve