From: Bob Copeland Date: Thu, 1 Jan 2009 20:01:45 +0000 (-0500) Subject: ath5k: fix off-by-one in gpio checks X-Git-Tag: v2.6.30-rc1~662^2~836^2~208 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d969204882882585336b0fa19ad4587d8fb15a2;p=pandora-kernel.git ath5k: fix off-by-one in gpio checks 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 Signed-off-by: Bob Copeland Signed-off-by: John W. Linville --- Reading git-diff-tree failed