From owner-freebsd-current@FreeBSD.ORG Wed Aug 17 14:26:22 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0190316A421; Wed, 17 Aug 2005 14:26:22 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from mv.twc.weather.com (mv.twc.weather.com [65.212.71.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E54C43D49; Wed, 17 Aug 2005 14:26:21 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from [10.50.40.201] (Not Verified[10.50.40.201]) by mv.twc.weather.com with NetIQ MailMarshal (v6, 0, 3, 8) id ; Wed, 17 Aug 2005 10:41:19 -0400 From: John Baldwin To: freebsd-current@freebsd.org Date: Wed, 17 Aug 2005 10:10:04 -0400 User-Agent: KMail/1.8 References: <1124027087.1306.8.camel@taxman.pepperland> <20050817101539.GA86752@putsch.kolbu.ws> In-Reply-To: <20050817101539.GA86752@putsch.kolbu.ws> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200508171010.06237.jhb@FreeBSD.org> Cc: sam@freebsd.org, current@freebsd.org, Stefan Ehmann , =?iso-8859-1?q?=D8yvind_Kolbu?= Subject: Re: [PATCH] Re: if_iwi stopped working X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Aug 2005 14:26:22 -0000 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 <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" =3D http://www.FreeBSD.org