Date: Wed, 17 Aug 2005 10:10:04 -0400 From: John Baldwin <jhb@FreeBSD.org> To: freebsd-current@freebsd.org Cc: sam@freebsd.org, current@freebsd.org, Stefan Ehmann <shoesoft@gmx.net>, =?iso-8859-1?q?=D8yvind_Kolbu?= <oyvind@kolbu.ws> Subject: Re: [PATCH] Re: if_iwi stopped working Message-ID: <200508171010.06237.jhb@FreeBSD.org> In-Reply-To: <20050817101539.GA86752@putsch.kolbu.ws> References: <1124027087.1306.8.camel@taxman.pepperland> <20050817101539.GA86752@putsch.kolbu.ws>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 17 August 2005 06:15 am, =D8yvind Kolbu wrote: > On 14-08-2005 15:44, Stefan Ehmann wrote: > > It stopped working some days ago. Via binary search I tracked it down to > > August, 10th (I see some changes done by sam which might be the > > culprit). > > That commit updates most wireless drivers, except iwi. Using the same > change as made on the ipw driver on iwi makes my wlan work again. > > I'm using the patch below on my laptop and writes this mail via iwi. > > Index: if_iwi.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > RCS file: /stuff/freebsd/cvs/src/sys/dev/iwi/if_iwi.c,v > retrieving revision 1.10 > diff -u -b -B -u -r1.10 if_iwi.c > --- if_iwi.c 9 Aug 2005 10:19:49 -0000 1.10 > +++ if_iwi.c 17 Aug 2005 10:04:24 -0000 > @@ -1008,7 +1008,7 @@ > #if IEEE80211_CHAN_MAX < 255 > if (frm[2] <=3D IEEE80211_CHAN_MAX) > #endif > - ic->ic_bss->ni_chan =3D &ic->ic_channels[frm[2]]; > + ic->ic_curchan =3D &ic->ic_channels[frm[2]]; > > frm +=3D frm[1] + 2; > } Thanks for the patch. I've just committed it. =2D-=20 John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" =3D http://www.FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508171010.06237.jhb>