]> git.baikalelectronics.ru Git - 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)
commitf02d7c9721e3275487ca81f26ab63d61d42e830c
tree9925d12217d6f4ee161740292a86d61a8d228584
parent36f533523ad13aa0aac6ad5c3756b9f0eaab87f3
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