summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/wl12xx.h
diff options
context:
space:
mode:
authorKalle Valo <kalle.valo@nokia.com>2009-06-12 14:15:08 +0300
committerJohn W. Linville <linville@tuxdriver.com>2009-07-10 14:57:43 -0400
commit4721213fdde4456a36a5e63f02e5c2556a4df398 (patch)
tree4dd00bb4827642316e84f3a97a54f470017a826f /drivers/net/wireless/wl12xx/wl12xx.h
parent53d65423ba1bc3c38d53b27656395c632b073590 (diff)
downloadlinux-4721213fdde4456a36a5e63f02e5c2556a4df398.tar.gz
linux-4721213fdde4456a36a5e63f02e5c2556a4df398.tar.bz2
linux-4721213fdde4456a36a5e63f02e5c2556a4df398.zip
wl12xx: fix rx descriptor use
Rx descriptor was incorrectly allocated from stack, use struct wl12xx instead. Needed for DMA transfers. Signed-off-by: Kalle Valo <kalle.valo@nokia.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl12xx.h')
-rw-r--r--drivers/net/wireless/wl12xx/wl12xx.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/wl12xx.h b/drivers/net/wireless/wl12xx/wl12xx.h
index b81102098c7d..b87421461a7d 100644
--- a/drivers/net/wireless/wl12xx/wl12xx.h
+++ b/drivers/net/wireless/wl12xx/wl12xx.h
@@ -387,6 +387,7 @@ struct wl12xx {
u32 buffer_32;
u32 buffer_cmd;
u8 buffer_busyword[WL12XX_BUSY_WORD_LEN];
+ struct wl12xx_rx_descriptor *rx_descriptor;
};
int wl12xx_plt_start(struct wl12xx *wl);