ath5k: properly free rx dma descriptors
authorFelix Fietkau <nbd@openwrt.org>
Fri, 30 Jan 2009 00:36:48 +0000 (01:36 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 9 Feb 2009 20:03:43 +0000 (15:03 -0500)
commita6c8d375f539d450bf8d45e8ccbb7c9e26dffbef
tree896240623ef03c97ee710ce83febdb22804df7fe
parentc1b4aa3fb619782213af2af6652663c8f9cef373
ath5k: properly free rx dma descriptors

When freeing rx dma descriptors, use the right buffer size.
Fixes kernel oopses on module unload on ixp4xx and most likely
other platforms as well.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Acked-by: Nick Kossifidis <mickflemm@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath5k/base.c