From: Jiri Slaby Date: Thu, 26 Feb 2009 22:44:31 +0000 (+0100) Subject: ath5k: fix hw rate index condition X-Git-Tag: v2.6.30-rc1~662^2~353 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db5b4f7ae3901fdc48c5b988fc2a5e0cb4ec1870;p=pandora-kernel.git ath5k: fix hw rate index condition Make sure we print out a warning when the index is out of bounds, i.e. even on hw_rix == AR5K_MAX_RATES. Also change to WARN and print text with the reported hw_rix. Signed-off-by: Jiri Slaby Cc: Nick Kossifidis Cc: Luis R. Rodriguez Cc: Bob Copeland Signed-off-by: John W. Linville --- Reading git-diff-tree failed