ar9170: fix read & write outside array bounds
authorDan Carpenter <error27@gmail.com>
Sun, 9 Aug 2009 12:24:09 +0000 (14:24 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 10 Aug 2009 20:41:01 +0000 (16:41 -0400)
queue == __AR9170_NUM_TXQ would cause a bug on the next line.

found by Smatch ( http://repo.or.cz/w/smatch.git ).

Cc: stable@kernel.org
Reported-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Christian Lamparter <chunkeey@web.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

No differences found