zd1211rw: Use DMA-aware buffer for usb transfer
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Fri, 16 May 2008 08:27:05 +0000 (17:27 +0900)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 22 May 2008 01:48:12 +0000 (21:48 -0400)
commita8c4ea7a10f3c45eee27efb3954c3e03c297f0a7
tree9042a6c059a7177180ade896a8c22dff4b1db59a
parente039fa4a4195ac4ee895e6f3d1334beed63256fe
zd1211rw: Use DMA-aware buffer for usb transfer

The zd1211rw driver uses unaligned stack buffer for USB control
message.  But it might cause stack corruption on non-coherent
platform, such as MIPS.  Use DMA-aware buffers for USB transfer.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/zd1211rw/zd_usb.c