aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/wl12xx.h
diff options
context:
space:
mode:
authorKalle Valo <kalle.valo@nokia.com>2009-06-12 07:15:08 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-07-10 14:57:43 -0400
commit4721213fdde4456a36a5e63f02e5c2556a4df398 (patch)
tree4dd00bb4827642316e84f3a97a54f470017a826f /drivers/net/wireless/wl12xx/wl12xx.h
parent53d65423ba1bc3c38d53b27656395c632b073590 (diff)
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 b81102098c7..b87421461a7 100644
--- a/drivers/net/wireless/wl12xx/wl12xx.h
+++ b/drivers/net/wireless/wl12xx/wl12xx.h
@@ -387,6 +387,7 @@ struct wl12xx {
387 u32 buffer_32; 387 u32 buffer_32;
388 u32 buffer_cmd; 388 u32 buffer_cmd;
389 u8 buffer_busyword[WL12XX_BUSY_WORD_LEN]; 389 u8 buffer_busyword[WL12XX_BUSY_WORD_LEN];
390 struct wl12xx_rx_descriptor *rx_descriptor;
390}; 391};
391 392
392int wl12xx_plt_start(struct wl12xx *wl); 393int wl12xx_plt_start(struct wl12xx *wl);