linux/drivers/net/wireless/rt2x00
Ivo van Doorn 8ff48a8bbe rt2x00: Fix race condition when using inderect registers
Indirect registers require multiple calls to the CSR
register in order to access the indirect registers.
This must be protected under a lock to prevent race
conditions which could cause invalid data to
be returned when reading from the indirect register or silent
failures when writing data to the indirect register.

USB drivers where already protected under a mutex,
so rename the mutex and make PCI drivers use the mutex
as well.
This now means that BBP and RF registers are no longer
accessible in interrupt context. That is not a bad
situation since the slow behavior of accessing
those registers means we don't _want_ to access them
in interrupt context either.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2008-11-21 11:08:16 -05:00
..
Kconfig rt2x00: Fix build error when mac80211=M rt2x00=Y 2008-10-29 17:54:35 -04:00
Makefile rt2x00: Implement HW encryption 2008-08-22 16:29:58 -04:00
rt2x00.h rt2x00: Fix race condition when using inderect registers 2008-11-21 11:08:16 -05:00
rt2x00config.c rt2x00: Optimize get_duration / get_duration_res 2008-11-21 11:08:16 -05:00
rt2x00crypto.c mac80211: free up 2 bytes in skb->cb 2008-10-06 18:14:57 -04:00
rt2x00debug.c rt2x00: Remove debugfs CSR access wrappers 2008-11-10 15:17:35 -05:00
rt2x00debug.h rt2x00: Remove debugfs CSR access wrappers 2008-11-10 15:17:35 -05:00
rt2x00dev.c rt2x00: Fix race condition when using inderect registers 2008-11-21 11:08:16 -05:00
rt2x00dump.h rt2x00: Queue handling overhaul 2008-02-29 15:19:27 -05:00
rt2x00firmware.c rt2x00: Reset LED assoc status after firmware update 2008-07-14 14:53:00 -04:00
rt2x00leds.c rt2x00: Fix LED state handling 2008-11-21 11:06:05 -05:00
rt2x00leds.h rt2x00: Remove MAC80211_LEDS dependency 2008-04-01 17:14:09 -04:00
rt2x00lib.h rt2x00: Cleanup TX/RX entry handling 2008-11-21 11:08:16 -05:00
rt2x00mac.c rt2x00: Fix BUG_ON() with antenna handling 2008-11-21 11:06:05 -05:00
rt2x00pci.c rt2x00: Cleanup TX/RX entry handling 2008-11-21 11:08:16 -05:00
rt2x00pci.h rt2x00: Cleanup TX/RX entry handling 2008-11-21 11:08:16 -05:00
rt2x00queue.c rt2x00: Optimize get_duration / get_duration_res 2008-11-21 11:08:16 -05:00
rt2x00queue.h mac80211/drivers: rewrite the rate control API 2008-10-31 19:00:23 -04:00
rt2x00reg.h Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6 2008-09-08 16:59:05 -07:00
rt2x00rfkill.c rt2x00: Fix rfkill structure initialization to prevent rfkill WARN_ON. 2008-10-06 18:14:57 -04:00
rt2x00usb.c rt2x00: Fix race condition when using inderect registers 2008-11-21 11:08:16 -05:00
rt2x00usb.h rt2x00: Cleanup TX/RX entry handling 2008-11-21 11:08:16 -05:00
rt61pci.c rt2x00: Fix race condition when using inderect registers 2008-11-21 11:08:16 -05:00
rt61pci.h rt2x00: Remove debugfs CSR access wrappers 2008-11-10 15:17:35 -05:00
rt73usb.c rt2x00: Fix race condition when using inderect registers 2008-11-21 11:08:16 -05:00
rt73usb.h rt2x00: Remove debugfs CSR access wrappers 2008-11-10 15:17:35 -05:00
rt2400pci.c rt2x00: Fix race condition when using inderect registers 2008-11-21 11:08:16 -05:00
rt2400pci.h rt2x00: Remove debugfs CSR access wrappers 2008-11-10 15:17:35 -05:00
rt2500pci.c rt2x00: Fix race condition when using inderect registers 2008-11-21 11:08:16 -05:00
rt2500pci.h rt2x00: Remove debugfs CSR access wrappers 2008-11-10 15:17:35 -05:00
rt2500usb.c rt2x00: Fix race condition when using inderect registers 2008-11-21 11:08:16 -05:00
rt2500usb.h rt2x00: Remove debugfs CSR access wrappers 2008-11-10 15:17:35 -05:00