ath5k: fix off-by-one in gpio checks
authorBob Copeland <me@bobcopeland.com>
Thu, 1 Jan 2009 20:01:45 +0000 (15:01 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 29 Jan 2009 20:59:45 +0000 (15:59 -0500)
Sanity checks against AR5K_NUM_GPIO were all broken.  This doesn't
currently cause any problems since we only use the first four gpios.

Changes-licensed-under: ISC

Reported-by: Andreas Mohr <andi@lisas.de>
Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

No differences found