Commit 2282e1fb authored by matt mooney's avatar matt mooney Committed by Greg Kroah-Hartman

staging: usbip: usbip_common.c: fix misspelled function name

Change pakcet to packet in usbip_iso_packet_correct_endian().
Signed-off-by: default avatarmatt mooney <mfm@muteddisk.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 7d4de89f
...@@ -627,7 +627,7 @@ void usbip_header_correct_endian(struct usbip_header *pdu, int send) ...@@ -627,7 +627,7 @@ void usbip_header_correct_endian(struct usbip_header *pdu, int send)
} }
EXPORT_SYMBOL_GPL(usbip_header_correct_endian); EXPORT_SYMBOL_GPL(usbip_header_correct_endian);
static void usbip_iso_pakcet_correct_endian( static void usbip_iso_packet_correct_endian(
struct usbip_iso_packet_descriptor *iso, int send) struct usbip_iso_packet_descriptor *iso, int send)
{ {
/* does not need all members. but copy all simply. */ /* does not need all members. but copy all simply. */
...@@ -677,7 +677,7 @@ void *usbip_alloc_iso_desc_pdu(struct urb *urb, ssize_t *bufflen) ...@@ -677,7 +677,7 @@ void *usbip_alloc_iso_desc_pdu(struct urb *urb, ssize_t *bufflen)
iso = buff + (i * sizeof(*iso)); iso = buff + (i * sizeof(*iso));
usbip_pack_iso(iso, &urb->iso_frame_desc[i], 1); usbip_pack_iso(iso, &urb->iso_frame_desc[i], 1);
usbip_iso_pakcet_correct_endian(iso, 1); usbip_iso_packet_correct_endian(iso, 1);
} }
*bufflen = size; *bufflen = size;
...@@ -728,7 +728,7 @@ int usbip_recv_iso(struct usbip_device *ud, struct urb *urb) ...@@ -728,7 +728,7 @@ int usbip_recv_iso(struct usbip_device *ud, struct urb *urb)
for (i = 0; i < np; i++) { for (i = 0; i < np; i++) {
iso = buff + (i * sizeof(*iso)); iso = buff + (i * sizeof(*iso));
usbip_iso_pakcet_correct_endian(iso, 0); usbip_iso_packet_correct_endian(iso, 0);
usbip_pack_iso(iso, &urb->iso_frame_desc[i], 0); usbip_pack_iso(iso, &urb->iso_frame_desc[i], 0);
total_length += urb->iso_frame_desc[i].actual_length; total_length += urb->iso_frame_desc[i].actual_length;
} }
......
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