Commit 9b44fb89 authored by Johannes Berg's avatar Johannes Berg Committed by John W. Linville
Browse files

libertas_tf: fix skb tail pointer

skb->tail can't be meant here because it's not the same across 32/64 bit
compilations. This means there's no way the current driver can work on
64-bit architectures.
Signed-off-by: default avatarJohannes Berg <>
Cc: [2.6.27]
Signed-off-by: default avatarJohn W. Linville <>
parent 5f9021cf
......@@ -331,7 +331,7 @@ static int __if_usb_submit_rx_urb(struct if_usb_card *cardp,
/* Fill the receive configuration URB and initialise the Rx call back */
usb_fill_bulk_urb(cardp->rx_urb, cardp->udev,
usb_rcvbulkpipe(cardp->udev, cardp->ep_in),
(void *) (skb->tail),
cardp->rx_urb->transfer_flags |= URB_ZERO_PACKET;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment