linux/drivers/net/wireless/ath/ath5k
Luis R. Rodriguez 359207c687 ath5k: Fix eeprom checksum check for custom sized eeproms
Commit 8bf3d79bc401ca417ccf9fc076d3295d1a71dbf5 enabled EEPROM
checksum checks to avoid bogus bug reports but failed to address
updating the code to consider devices with custom EEPROM sizes.
Devices with custom sized EEPROMs have the upper limit size stuffed
in the EEPROM. Use this as the upper limit instead of the static
default size. In case of a checksum error also provide back the
max size and whether or not this was the default size or a custom
one. If the EEPROM is busted we add a failsafe check to ensure
we don't loop forever or try to read bogus areas of hardware.

This closes bug 14874

http://bugzilla.kernel.org/show_bug.cgi?id=14874

Cc: stable@kernel.org
Cc: David Quan <david.quan@atheros.com>
Cc: Stephen Beahm <stephenbeahm@comcast.net>
Reported-by: Joshua Covington <joshuacov@googlemail.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2010-01-04 16:11:59 -05:00
..
ath5k.h ath5k: use noise calibration from madwifi hal 2009-10-27 16:48:18 -04:00
attach.c ath5k: use noise calibration from madwifi hal 2009-10-27 16:48:18 -04:00
base.c wireless: remove remaining qual code 2009-12-28 16:19:45 -05:00
base.h ath5k: use the common->keymap 2009-11-11 17:09:10 -05:00
caps.c
debug.c
debug.h
desc.c
desc.h
dma.c
eeprom.c ath5k: Fix eeprom checksum check for custom sized eeproms 2010-01-04 16:11:59 -05:00
eeprom.h ath5k: Fix eeprom checksum check for custom sized eeproms 2010-01-04 16:11:59 -05:00
gpio.c
initvals.c atheros: define shared bssidmask setting 2009-10-07 16:39:28 -04:00
Kconfig wireless: remove WLAN_80211 and WLAN_PRE80211 from Kconfig 2009-10-30 16:50:35 -04:00
led.c ath5k: add support for Dell Vostro A860 LED 2009-12-07 16:59:23 -05:00
Makefile
pcu.c ath5k: fix regression which triggers an SME join upon assoc 2009-10-07 16:39:50 -04:00
phy.c ath5k: Fix I/Q calibration 2009-11-23 17:05:29 -05:00
qcu.c
reg.h ath5k: use noise calibration from madwifi hal 2009-10-27 16:48:18 -04:00
reset.c ath5k: use noise calibration from madwifi hal 2009-10-27 16:48:18 -04:00
rfbuffer.h
rfgain.h
rfkill.c