]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
Staging: otus: hpani: using the wrong variable
authorDan Carpenter <error27@gmail.com>
Sun, 28 Mar 2010 11:48:10 +0000 (14:48 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 May 2010 18:35:43 +0000 (11:35 -0700)
commit263974d918474d17b5963d0b22fbc81729ce0479
tree9925d12217d6f4ee161740292a86d61a8d228584
parentcd20decf7ef49983e973ebd6a76a0000cd26cd2a
Staging: otus: hpani: using the wrong variable

We're updating the "HpPriv->ani" array here so we should use that to
determine the end of the for loop.  "HpPriv->ani" has 50 elements and
"wd->regulationTable.allowChannel" has 59 elements.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/otus/hal/hpani.c