]> err.no Git - linux-2.6/commit
tokenring/3c359.c: fixed array index problem
authorMarcus Meissner <meissner@suse.de>
Sat, 13 Oct 2007 08:19:37 +0000 (10:19 +0200)
committerJeff Garzik <jeff@garzik.org>
Wed, 17 Oct 2007 01:10:27 +0000 (21:10 -0400)
commit9a7387c23356c0e6fc72934ceaf1fa663d503485
tree331e245714b67a64ff081658eb713de00a4b87f3
parent8148ff4512cc6b402e11ccfa02cc4eb41fb7e66c
tokenring/3c359.c: fixed array index problem

The xl_laa array is just 6 bytes long, so we should substract
10 from the index, like is also done some lines above already.

Signed-Off-By: Marcus Meissner <meissner@suse.de>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/tokenring/3c359.c