ath5k/phy.c: fix negative array index
authorLuis R. Rodriguez <mcgrof@winlab.rutgers.edu>
Mon, 4 Feb 2008 02:53:51 +0000 (21:53 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 29 Feb 2008 20:19:38 +0000 (15:19 -0500)
commite71c9fac316221a4594f3bd58c2d30ada0cabaf6
treeb178376036c5122e06fe47f63dd450e40e7df87e
parent6844e63a9458d15b4437aa467c99128d994b0f6c
ath5k/phy.c: fix negative array index

Author: Adrian Bunk <bunk@kernel.org>

This patch fixes a negative array index spotted by the Coverity checker.

Changes-licensed-under: ISC

Acked-by: Nick Kossifidis <mickflemm@gmail.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath5k/phy.c