diff options
author | Jiri Kosina <jkosina@suse.cz> | 2008-07-07 11:30:31 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2008-07-07 11:30:31 +0200 |
commit | d6d6a86e14a6b5a26c785b45268874a8f7a52b4d (patch) | |
tree | cd49bacdc4ac89a9317501bc9ebe87c3b6320e3e /drivers/usb/class/cdc-wdm.c | |
parent | f38bb7de289f5c15e287386d35e9c325f1062c49 (diff) | |
parent | 1b40a895df6c7d5a80e71f65674060b03d84bbef (diff) | |
download | kernel-crypto-d6d6a86e14a6b5a26c785b45268874a8f7a52b4d.tar.gz kernel-crypto-d6d6a86e14a6b5a26c785b45268874a8f7a52b4d.tar.xz kernel-crypto-d6d6a86e14a6b5a26c785b45268874a8f7a52b4d.zip |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'drivers/usb/class/cdc-wdm.c')
-rw-r--r-- | drivers/usb/class/cdc-wdm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/class/cdc-wdm.c b/drivers/usb/class/cdc-wdm.c index 107666d4e2e..731db051070 100644 --- a/drivers/usb/class/cdc-wdm.c +++ b/drivers/usb/class/cdc-wdm.c @@ -611,8 +611,8 @@ next_desc: goto err; } - desc->wMaxPacketSize = ep->wMaxPacketSize; - desc->bMaxPacketSize0 = cpu_to_le16(udev->descriptor.bMaxPacketSize0); + desc->wMaxPacketSize = le16_to_cpu(ep->wMaxPacketSize); + desc->bMaxPacketSize0 = udev->descriptor.bMaxPacketSize0; desc->orq = kmalloc(sizeof(struct usb_ctrlrequest), GFP_KERNEL); if (!desc->orq) |