From owner-freebsd-current@FreeBSD.ORG Wed Aug 17 10:15:46 2005 Return-Path: X-Original-To: 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 9BB2516A41F; Wed, 17 Aug 2005 10:15:46 +0000 (GMT) (envelope-from oyvind@kolbu.ws) Received: from smtp.eunet.no (smtp.eunet.no [193.71.71.238]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B61243D58; Wed, 17 Aug 2005 10:15:45 +0000 (GMT) (envelope-from oyvind@kolbu.ws) Received: from putsch.kolbu.ws (putsch.kolbu.ws [81.0.164.102]) by smtp.eunet.no (Postfix) with ESMTP id B1EB1D13A3; Wed, 17 Aug 2005 12:15:43 +0200 (CEST) Received: from putsch.i.kolbu.ws ([192.168.1.2] helo=localhost.localdomain) by putsch.kolbu.ws with esmtp (Exim 4.51 (FreeBSD)) id 1E5KxQ-000Mdl-9c; Wed, 17 Aug 2005 12:15:43 +0200 Received: from Mutt by mutt-smtp-wrapper.pl 1.2 (www.zdo.com/articles/mutt-smtp-wrapper.shtml) Date: Wed, 17 Aug 2005 12:15:39 +0200 From: =?iso-8859-1?Q?=D8yvind?= Kolbu To: Stefan Ehmann Message-ID: <20050817101539.GA86752@putsch.kolbu.ws> References: <1124027087.1306.8.camel@taxman.pepperland> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1124027087.1306.8.camel@taxman.pepperland> User-Agent: Mutt/1.5.9i X-Spam-Score: -5.9 (-----) X-Spam-Report: Spam detection software, running on the system "putsch.kolbu.ws", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 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. [...] Content analysis details: (-5.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -3.3 ALL_TRUSTED Did not pass through any untrusted hosts -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Cc: sam@freebsd.org, current@freebsd.org Subject: [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 10:15:46 -0000 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 =================================================================== 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] <= IEEE80211_CHAN_MAX) #endif - ic->ic_bss->ni_chan = &ic->ic_channels[frm[2]]; + ic->ic_curchan = &ic->ic_channels[frm[2]]; frm += frm[1] + 2; } -- Øyvind Kolbu