summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2008-10-29 23:24:14 +0100
committerJohn W. Linville <linville@tuxdriver.com>2008-11-18 17:26:26 -0500
commit9b44fb89cab6e01816cdc05d6b59fdcf8100b8c3 (patch)
treeac721a06fcbbe97b65a6d18fb9d2a24c53bda338 /drivers
parent5f9021cfdc3524a4c5e3d7ae2d049eb7adcd6776 (diff)
downloadop-kernel-dev-9b44fb89cab6e01816cdc05d6b59fdcf8100b8c3.zip
op-kernel-dev-9b44fb89cab6e01816cdc05d6b59fdcf8100b8c3.tar.gz
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: Johannes Berg <johannes@sipsolutions.net> Cc: stable@kernel.org [2.6.27] Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/libertas_tf/if_usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas_tf/if_usb.c b/drivers/net/wireless/libertas_tf/if_usb.c
index 1cc03a8..59634c3 100644
--- a/drivers/net/wireless/libertas_tf/if_usb.c
+++ b/drivers/net/wireless/libertas_tf/if_usb.c
@@ -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),
+ skb_tail_pointer(skb),
MRVDRV_ETH_RX_PACKET_BUFFER_SIZE, callbackfn, cardp);
cardp->rx_urb->transfer_flags |= URB_ZERO_PACKET;
OpenPOWER on IntegriCloud