summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcelo Tosatti <mtosatti@redhat.com>2006-12-28 11:35:48 -0200
committerAndres Salomon <dilinger@debian.org>2007-01-02 10:33:43 -0500
commita589b9920e904a88d0b620575bc86b859e8c07fa (patch)
treed30a0008d0e11aef00fd4b08deba2e22c47558a8
parentba04adf73a8c86f9bfbf5e1eec1c9a691ac114df (diff)
downloadlwn-a589b9920e904a88d0b620575bc86b859e8c07fa.tar.gz
lwn-a589b9920e904a88d0b620575bc86b859e8c07fa.zip
libertas: allocate bulk_out_buffer with GFP_KERNEL instead of GFP_DMA
The USB host controller has no such <16MB limitation for DMA, switch to GFP_KERNEL. Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> (cherry picked from ba26232323c56fcea8a9471bfbe8f60296d16340 commit)
-rw-r--r--drivers/net/wireless/libertas/if_usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/if_usb.c b/drivers/net/wireless/libertas/if_usb.c
index 9a7e65aaf871..37fe7bfa947e 100644
--- a/drivers/net/wireless/libertas/if_usb.c
+++ b/drivers/net/wireless/libertas/if_usb.c
@@ -248,7 +248,7 @@ static int if_usb_probe(struct usb_interface *intf,
endpoint->bEndpointAddress);
usb_cardp->bulk_out_buffer =
kmalloc(MRVDRV_ETH_TX_PACKET_BUFFER_SIZE,
- GFP_DMA);
+ GFP_KERNEL);
if (!usb_cardp->bulk_out_buffer) {
dprintk(1,