summaryrefslogtreecommitdiff
path: root/net/mac80211/cfg.c
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2009-02-26 23:44:31 +0100
committerJohn W. Linville <linville@tuxdriver.com>2009-03-05 14:39:32 -0500
commitdb5b4f7ae3901fdc48c5b988fc2a5e0cb4ec1870 (patch)
tree5a542aaee237726c607c3bf7a519d4479cd2454f /net/mac80211/cfg.c
parent3f53dd64f192450cb331c0fecfc26ca952fb242f (diff)
downloadlinux-3.10-db5b4f7ae3901fdc48c5b988fc2a5e0cb4ec1870.tar.gz
linux-3.10-db5b4f7ae3901fdc48c5b988fc2a5e0cb4ec1870.tar.bz2
linux-3.10-db5b4f7ae3901fdc48c5b988fc2a5e0cb4ec1870.zip
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 <jirislaby@gmail.com> Cc: Nick Kossifidis <mickflemm@gmail.com> Cc: Luis R. Rodriguez <lrodriguez@atheros.com> Cc: Bob Copeland <me@bobcopeland.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/cfg.c')
0 files changed, 0 insertions, 0 deletions