On Mon, May 13, 2019 at 07:58:18AM +0000, [email protected] wrote:
> 13 mai 2019 01:06 "Stefan Sperling" <[email protected]> a écrit:
> > Please show the first lines ($OpenBSD ...$) of the following files
> > for both your working, and non-working, kernels:
> 
> working
> non-working
> 
> > sys/dev/ic/athn.c
> 
> /* $OpenBSD: athn.c,v 1.100 2019/01/31 11:38:52 stsp Exp $ */
> /* $OpenBSD: athn.c,v 1.101 2019/02/01 16:15:07 stsp Exp $ */
> 
> > sys/dev/ic/athnvar.h
> 
> /* $OpenBSD: athnvar.h,v 1.38 2019/01/31 11:38:52 stsp Exp $ */
> /* $OpenBSD: athnvar.h,v 1.39 2019/02/01 16:15:07 stsp Exp $ */
> 
> > sys/dev/ic/ar5008.c
> 
> /* $OpenBSD: ar5008.c,v 1.46 2017/11/28 04:35:39 stsp Exp $ */
> /* $OpenBSD: ar5008.c,v 1.47 2019/02/01 16:15:07 stsp Exp $ */
> 
> > sys/dev/ic/ar5416.c
> 
> /* $OpenBSD: ar5416.c,v 1.20 2017/01/12 16:32:28 stsp Exp $ */
> /* $OpenBSD: ar5416.c,v 1.21 2019/02/01 16:15:07 stsp Exp $ */
> 
> > sys/dev/ic/ar5416reg.h
> 
> /* $OpenBSD: ar5416reg.h,v 1.6 2016/01/05 18:41:15 stsp Exp $ */
> /* $OpenBSD: ar5416reg.h,v 1.7 2019/02/01 16:15:07 stsp Exp $ */
> 
> > sys/dev/ic/ar9280.c
> 
> /* $OpenBSD: ar9280.c,v 1.26 2017/01/12 16:32:28 stsp Exp $ */
> /* $OpenBSD: ar9280.c,v 1.27 2019/02/01 16:15:07 stsp Exp $ */
> 
> > sys/dev/ic/ar928reg.h
> 
> /* $OpenBSD: ar9280reg.h,v 1.7 2016/01/05 18:41:15 stsp Exp $ */
> /* $OpenBSD: ar9280reg.h,v 1.8 2019/02/01 16:15:07 stsp Exp $ */
> 

Thank you. Please try this patch against -current:

diff d0dbe0f38d03dd61d4cc879f0883aa49fa2a5814 /usr/src
blob - b7a5e3f2081706f32317c6f2ad02e93db9fa99d3
file + sys/dev/ic/athn.c
--- sys/dev/ic/athn.c
+++ sys/dev/ic/athn.c
@@ -1303,7 +1303,7 @@ athn_filter_noisefloor(struct athn_softc *sc)
        int nf_ext_vals[ATHN_NF_CAL_HIST_MAX];
        int i, cur, n;
 
-       for (i = 0; i < sc->ntxchains; i++) {
+       for (i = 0; i < sc->nrxchains; i++) {
                if (sc->nf_hist_cur > 0)
                        cur = sc->nf_hist_cur - 1;
                else

Reply via email to