linux/drivers/net/wireless/rt2x00
Ivo van Doorn d15cfc3ac7 rt2x00: Fix segementation fault
The queue_end() macro points to 1 position after the
queue, which means that if we want to know if queue
is at the end of the queue we should first increment
the position and then check if it is a valid entry.

This fixes a segmentation fault which only occurs when
the device has enough endpoints to provide a dedicated
endpoint for all TX queues (which likely won't happen
for rt2500usb and rt73usb, but will happen for rt2800usb).

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-01-12 14:24:53 -05:00
..
Kconfig rt2x00: Implement HW encryption (rt2500usb) 2008-12-05 09:35:51 -05:00
Makefile
rt2x00.h rt2x00: Release rt2x00 2.2.3 2008-12-05 09:35:51 -05:00
rt2x00config.c rt2x00: Remove duplicate code 2008-12-05 09:35:50 -05:00
rt2x00crypto.c trivial: fix then -> than typos in comments and documentation 2009-01-06 11:28:06 +01:00
rt2x00debug.c
rt2x00debug.h
rt2x00dev.c rt2x00: Fix TX short preamble detection 2009-01-12 14:24:50 -05:00
rt2x00dump.h
rt2x00firmware.c
rt2x00leds.c rt2x00: Fix radio LED type check 2009-01-12 14:24:49 -05:00
rt2x00leds.h
rt2x00lib.h rt2x00: Fix TX short preamble detection 2009-01-12 14:24:50 -05:00
rt2x00mac.c rt2x00: Correctly initialize AID during set_key() 2008-12-05 09:35:57 -05:00
rt2x00pci.c rt2x00: Cleanup indirect register access 2008-11-25 16:32:53 -05:00
rt2x00pci.h rt2x00: Cleanup indirect register access 2008-11-25 16:32:53 -05:00
rt2x00queue.c rt2x00: Fix TX short preamble detection 2009-01-12 14:24:50 -05:00
rt2x00queue.h rt2x00: Add RXDONE_CRYPTO_IV/ICV flags 2008-12-05 09:35:56 -05:00
rt2x00reg.h
rt2x00rfkill.c
rt2x00usb.c rt2x00: Fix segementation fault 2009-01-12 14:24:53 -05:00
rt2x00usb.h rt2x00: Move rt73usb register access wrappers into rt2x00usb 2008-11-25 16:32:53 -05:00
rt61pci.c rt2x00: Add RXDONE_CRYPTO_IV/ICV flags 2008-12-05 09:35:56 -05:00
rt61pci.h
rt73usb.c rt2x00: add USB ID for the Linksys WUSB200. 2009-01-12 14:24:50 -05:00
rt73usb.h
rt2400pci.c rt2x00: Cleanup indirect register access 2008-11-25 16:32:53 -05:00
rt2400pci.h
rt2500pci.c rt2x00: Cleanup indirect register access 2008-11-25 16:32:53 -05:00
rt2500pci.h
rt2500usb.c rt2x00: Add RXDONE_CRYPTO_IV/ICV flags 2008-12-05 09:35:56 -05:00
rt2500usb.h rt2x00: Implement HW encryption (rt2500usb) 2008-12-05 09:35:51 -05:00