[PATCH] Re: if_iwi stopped working

From: Øyvind Kolbu <oyvind_at_kolbu.ws>
Date: Wed, 17 Aug 2005 12:15:39 +0200
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
_at__at_ -1008,7 +1008,7 _at__at_
 #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
Received on Wed Aug 17 2005 - 08:15:46 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:41 UTC