Re: [PATCH] bcm43xx-d80211: Fix an off-by-one condition in handle_irq_noise

2006-07-10 Thread Larry Finger
Michael Buesch wrote: On Tuesday 11 July 2006 00:56, you wrote: An assert statement near the start of handle_irq_noise in the d80211 version of bcm43xx_main.c is there to protect against out of bound addressing using variable bcm->noisecalc.nr_samples. The arrays in question have a dimension of

Re: [PATCH] bcm43xx-d80211: Fix an off-by-one condition in handle_irq_noise

2006-07-10 Thread Michael Buesch
On Tuesday 11 July 2006 00:56, you wrote: > An assert statement near the start of handle_irq_noise in the d80211 version > of bcm43xx_main.c is > there to protect against out of bound addressing using variable > bcm->noisecalc.nr_samples. The > arrays in question have a dimension of 8, thus the

[PATCH] bcm43xx-d80211: Fix an off-by-one condition in handle_irq_noise

2006-07-10 Thread Larry Finger
An assert statement near the start of handle_irq_noise in the d80211 version of bcm43xx_main.c is there to protect against out of bound addressing using variable bcm->noisecalc.nr_samples. The arrays in question have a dimension of 8, thus the value must be < 8. This patch mirrors the one submit