1
linux/drivers/net/wireless/rt2x00
Ivo van Doorn 9c9dd2c9a4 rt2x00: Fix invalid DMA free
Be more strict when using the queue_entry_priv_pci_rx
and queue_entry_priv_pci_tx structures. Only use a
particular type that matches the queue type.

When freeing the DMA the priv_tx->data and priv_tx->dma
was used. This is incorrect since the start of the DMA
was in fact the priv_tx->desc pointer. Instead of
recalculating the dma_addr_t for the DMA start this
patch will swap the data and descriptor part of the
allocated memory.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2008-02-29 15:37:17 -05:00
..
Kconfig wireless: rt2x00: fix driver menu indenting 2008-02-29 15:37:17 -05:00
Makefile rt2x00: Make use of MAC80211_LED_TRIGGERS 2008-02-29 15:37:00 -05:00
rt2x00.h rt2x00: Release rt2x00 2.1.0 2008-02-29 15:37:01 -05:00
rt2x00config.c rt2x00: Remove HWMODE_{A,B,G} 2008-02-29 15:19:38 -05:00
rt2x00debug.c rt2x00: Queue handling overhaul 2008-02-29 15:19:27 -05:00
rt2x00debug.h rt2x00: Update copyright notice 2008-02-29 15:19:22 -05:00
rt2x00dev.c rt2x00: Fix rate initialization 2008-02-29 15:37:00 -05:00
rt2x00dump.h rt2x00: Queue handling overhaul 2008-02-29 15:19:27 -05:00
rt2x00firmware.c rt2x00: Driver requiring firmware should select crc algo 2008-02-29 15:19:28 -05:00
rt2x00leds.c rt2x00: Enable LED class support for rt2500usb/rt73usb 2008-02-29 15:37:00 -05:00
rt2x00leds.h rt2x00: Enable LED class support for rt2500usb/rt73usb 2008-02-29 15:37:00 -05:00
rt2x00lib.h rt2x00: Make use of MAC80211_LED_TRIGGERS 2008-02-29 15:37:00 -05:00
rt2x00mac.c rt2x00: Move beacon and atim queue defines into rt2x00 2008-02-29 15:19:29 -05:00
rt2x00pci.c rt2x00: Fix invalid DMA free 2008-02-29 15:37:17 -05:00
rt2x00pci.h rt2x00: Move beacon and atim queue defines into rt2x00 2008-02-29 15:19:29 -05:00
rt2x00queue.c rt2x00: Fix queue index handling 2008-02-29 15:19:29 -05:00
rt2x00queue.h rt2x00: Move beacon and atim queue defines into rt2x00 2008-02-29 15:19:29 -05:00
rt2x00reg.h rt2x00: Rate structure overhaul 2008-02-29 15:19:38 -05:00
rt2x00rfkill.c rt2x00: Update copyright notice 2008-02-29 15:19:22 -05:00
rt2x00usb.c rt2x00: Enable LED class support for rt2500usb/rt73usb 2008-02-29 15:37:00 -05:00
rt2x00usb.h rt2x00: Enable LED class support for rt2500usb/rt73usb 2008-02-29 15:37:00 -05:00
rt61pci.c rt2x00: Make use of MAC80211_LED_TRIGGERS 2008-02-29 15:37:00 -05:00
rt61pci.h rt2x00: Add per-interface structure 2008-02-29 15:19:28 -05:00
rt73usb.c rt2x00: Enable LED class support for rt2500usb/rt73usb 2008-02-29 15:37:00 -05:00
rt73usb.h rt2x00: Add per-interface structure 2008-02-29 15:19:28 -05:00
rt2400pci.c rt2x00: Make use of MAC80211_LED_TRIGGERS 2008-02-29 15:37:00 -05:00
rt2400pci.h rt2x00: Update copyright notice 2008-02-29 15:19:22 -05:00
rt2500pci.c rt2x00: Make use of MAC80211_LED_TRIGGERS 2008-02-29 15:37:00 -05:00
rt2500pci.h rt2x00: Update copyright notice 2008-02-29 15:19:22 -05:00
rt2500usb.c rt2x00: Enable LED class support for rt2500usb/rt73usb 2008-02-29 15:37:00 -05:00
rt2500usb.h rt2x00: Remove HWMODE_{A,B,G} 2008-02-29 15:19:38 -05:00