aboutsummaryrefslogtreecommitdiff
path: root/at76_usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'at76_usb.c')
-rw-r--r--at76_usb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/at76_usb.c b/at76_usb.c
index c3b76a8..ffabc67 100644
--- a/at76_usb.c
+++ b/at76_usb.c
@@ -2234,8 +2234,8 @@ static int at76_alloc_urbs(struct at76_priv *priv,
buffer_size = sizeof(struct at76_tx_buffer) +
MAX_PADDING_SIZE;
priv->tx_bulk_pipe =
- usb_sndbulkpipe(udev, endpoint->bEndpointAddress),
- priv->bulk_out_buffer =
+ usb_sndbulkpipe(udev, endpoint->bEndpointAddress);
+ priv->bulk_out_buffer =
kmalloc(buffer_size, GFP_KERNEL);
if (!priv->bulk_out_buffer) {
err("couldn't allocate bulk_out_buffer");