From: Larry Finger Date: Thu, 29 Jun 2006 00:11:21 +0000 (-0500) Subject: [PATCH] bcm43xx-softmac: Fix an off-by-one condition in handle_irq_noise X-Git-Tag: v2.6.18-rc2~101^2~14^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=522536f6b24e63ac946259af65224f107dff7857;p=pandora-kernel.git [PATCH] bcm43xx-softmac: Fix an off-by-one condition in handle_irq_noise An assert statement near the start of handle_irq_noise in the softmac 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. Signed-Off-By: Larry.Finger Signed-off-by: John W. Linville --- Reading git-diff-tree failed