alistair23-linux/drivers/net/wireless/ath/ath5k
Jiri Slaby c5e534e569 NET: ath5k, check ath5k_eeprom_mode_from_channel retval
It can, if invalid argument given, return a negative value. In that
case we would access arrays out-of-bounds and such. Check the value
and yell loudly if that happened as it would be a bug in the
implementation. (Instead of silently corrupting memory.)

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Nick Kossifidis <mickflemm@gmail.com>
Cc: "Luis R. Rodriguez" <mcgrof@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2013-02-08 14:51:35 -05:00
..
ahb.c ath5k: Use module_platform_driver macro for ahb.c 2012-11-16 14:11:15 -05:00
ani.c
ani.h
ath5k.h ath5k: Put power_level where it belongs and rename it 2012-08-10 15:26:57 -04:00
attach.c
base.c wireless: make the reg_notifier() void 2013-01-14 11:32:44 +01:00
base.h
caps.c
debug.c
debug.h
desc.c
desc.h
dma.c
eeprom.c ath5k: fix wrong max power per rate eeprom reads for 802.11a 2012-08-21 14:58:20 -04:00
eeprom.h ath5k: fix wrong max power per rate eeprom reads for 802.11a 2012-08-21 14:58:20 -04:00
gpio.c
initvals.c
Kconfig wireless: allow Atheros card to not depend on ath.ko 2012-11-30 13:38:16 -05:00
led.c ath5k: remove __dev* attributes 2012-12-06 15:04:56 -05:00
mac80211-ops.c ath5k: fix tx path skb leaks 2012-12-10 15:49:58 -05:00
Makefile
pci.c ath5k: remove __dev* attributes 2012-12-06 15:04:56 -05:00
pcu.c
phy.c NET: ath5k, check ath5k_eeprom_mode_from_channel retval 2013-02-08 14:51:35 -05:00
qcu.c
reg.h
reset.c NET: ath5k, check ath5k_eeprom_mode_from_channel retval 2013-02-08 14:51:35 -05:00
rfbuffer.h
rfgain.h
rfkill.c
sysfs.c
trace.h