iwl3945-base.c: fix off-by-one errors
authorAdrian Bunk <bunk@kernel.org>
Sat, 2 Feb 2008 21:19:01 +0000 (23:19 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 5 Feb 2008 19:35:47 +0000 (14:35 -0500)
commit221c80cf03d77490b8e45184a273834d0259b9e0
treece27a2ffbf4405be8e23884f5efe0ec693f812b1
parent8dd0100ce9511e52614ecd0a6587c13ce5769c8b
iwl3945-base.c: fix off-by-one errors

This patch fixes two off-by-one errors resulting in array overflows
spotted by the Coverity checker.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl3945-base.c