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>

authored by Johannes Berg and committed by John W. Linville 9b44fb89 5f9021cf

+1 -1
+1 -1
drivers/net/wireless/libertas_tf/if_usb.c
··· 331 331 /* Fill the receive configuration URB and initialise the Rx call back */ 332 332 usb_fill_bulk_urb(cardp->rx_urb, cardp->udev, 333 333 usb_rcvbulkpipe(cardp->udev, cardp->ep_in), 334 - (void *) (skb->tail), 334 + skb_tail_pointer(skb), 335 335 MRVDRV_ETH_RX_PACKET_BUFFER_SIZE, callbackfn, cardp); 336 336 337 337 cardp->rx_urb->transfer_flags |= URB_ZERO_PACKET;