wavelan: avoid index past end of array if DEBUG_SHOW_UNUSED is defined
authorJohn W. Linville <linville@tuxdriver.com>
Fri, 2 May 2008 13:56:34 +0000 (09:56 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 13 May 2008 01:18:05 +0000 (21:18 -0400)
commitd5251aea1539ec89dd567e75169c568b5243b6fa
treec232805f91f6ac46d30ce72c1092897ca2b921de
parentbb55bdd512905f35f9d7dfe65d1f16014e1f9b2f
wavelan: avoid index past end of array if DEBUG_SHOW_UNUSED is defined

Reported by Daniel Marjamäki <danielm77@spray.se> here:

http://bugzilla.kernel.org/show_bug.cgi?id=10588

Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wavelan.c
drivers/net/wireless/wavelan_cs.c