aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43/xmit.c
diff options
context:
space:
mode:
authorAlbert Herranz <albert_herranz@yahoo.es>2009-10-07 00:07:44 +0200
committerJohn W. Linville <linville@tuxdriver.com>2009-10-07 16:33:51 -0400
commit7e937c633f718e0916a294db7282c922c1bf3ce3 (patch)
tree4da6f9ccb20ded658fa67a9893fe6a2255dac064 /drivers/net/wireless/b43/xmit.c
parentb43: Fix PPC crash in rfkill polling on unload (diff)
downloadlinux-dev-7e937c633f718e0916a294db7282c922c1bf3ce3.tar.xz
linux-dev-7e937c633f718e0916a294db7282c922c1bf3ce3.zip
b43: do not stack-allocate pio rx/tx header and tail buffers
The DMA-API debugging facility complains about b43 mapping memory from stack for SDIO-based cards. Indeed, b43 currently allocates the PIO RX/TX header and tail buffers from stack. The solution here is to use heap-allocated buffers instead. Signed-off-by: Albert Herranz <albert_herranz@yahoo.es> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/xmit.c')
-rw-r--r--drivers/net/wireless/b43/xmit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/b43/xmit.c b/drivers/net/wireless/b43/xmit.c
index ac9f600995e4..892573b27d50 100644
--- a/drivers/net/wireless/b43/xmit.c
+++ b/drivers/net/wireless/b43/xmit.c
@@ -27,7 +27,7 @@
*/
-#include "xmit.h"
+#include "b43.h"
#include "phy_common.h"
#include "dma.h"
#include "pio.h"