linux/drivers/net/wireless/rt2x00
Pavel Roskin 6b26dead3c rt2x00: fix memory corruption in rf cache, add a sanity check
Change rt2x00_rf_read() and rt2x00_rf_write() to subtract 1 from the rf
register number.  This is needed because the rf registers are enumerated
starting with one.  The size of the rf register cache is just enough to
hold all registers, so writing to the highest register was corrupting
memory.  Add a check to make sure that the rf register number is valid.

Signed-off-by: Pavel Roskin <proski@gnu.org>
Cc: stable@kernel.org
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-08-14 09:06:52 -04:00
..
Kconfig Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6 2009-06-15 03:02:23 -07:00
Makefile rt2x00: Implement support for rt2800usb 2009-05-06 15:14:54 -04:00
rt2x00.h rt2x00: fix memory corruption in rf cache, add a sanity check 2009-08-14 09:06:52 -04:00
rt2x00config.c rt2x00: Remove last usage of beacon_int from ieee80211_config 2009-06-03 14:05:10 -04:00
rt2x00crypto.c wireless: move some utility functions from mac80211 to cfg80211 2009-05-22 14:06:02 -04:00
rt2x00debug.c wireless: beyond ARRAY_SIZE of intf->crypto_stats 2009-05-20 14:29:55 -04:00
rt2x00debug.h
rt2x00dev.c rt73usb: fix for master mode 2009-05-20 14:46:34 -04:00
rt2x00dump.h
rt2x00firmware.c
rt2x00ht.c rt2x00: Implement support for 802.11n 2009-05-06 15:14:50 -04:00
rt2x00leds.c
rt2x00leds.h
rt2x00lib.h Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6 2009-06-15 03:02:23 -07:00
rt2x00link.c
rt2x00mac.c
rt2x00pci.c
rt2x00pci.h
rt2x00queue.c rt2x00: Implement support for 802.11n 2009-05-06 15:14:50 -04:00
rt2x00queue.h rt2x00: Implement support for 802.11n 2009-05-06 15:14:50 -04:00
rt2x00reg.h
rt2x00rfkill.c
rt2x00usb.c
rt2x00usb.h
rt61pci.c rt2x00: Remove last usage of beacon_int from ieee80211_config 2009-06-03 14:05:10 -04:00
rt61pci.h
rt73usb.c rt2x00: Remove last usage of beacon_int from ieee80211_config 2009-06-03 14:05:10 -04:00
rt73usb.h
rt2400pci.c rt2x00: Remove last usage of beacon_int from ieee80211_config 2009-06-03 14:05:10 -04:00
rt2400pci.h
rt2500pci.c rt2x00: Remove last usage of beacon_int from ieee80211_config 2009-06-03 14:05:10 -04:00
rt2500pci.h
rt2500usb.c rt2x00: Fix chipset detection for rt2500usb 2009-07-21 12:07:43 -04:00
rt2500usb.h
rt2800usb.c rt2x00: Add new rt2800usb USB ID's 2009-06-03 14:05:08 -04:00
rt2800usb.h rt2x00: Synchronize initialization with rt2870 driver 2009-05-06 15:14:55 -04:00