diff options
author | Sebastian Andrzej Siewior <[email protected]> | 2011-07-29 11:05:45 +0200 |
---|---|---|
committer | Sarah Sharp <[email protected]> | 2011-08-01 09:45:29 -0700 |
commit | 7de7c7d2cb49900e0b967be871bf695c7d6135c9 (patch) | |
tree | 1f3cda80b3ac70e450fe7a25ec3713d755b71b98 /lib/memory-notifier-error-inject.c | |
parent | 6768458b17f9bf48a4c3a34e49b20344091b5f7e (diff) |
usb/config: use proper endian access for wMaxPacketSize
wMaxPacketSize is __le16 and should be accessed as such. Also fix the
wBytesPerInterval assignment while here.
v2: also fix the wBytesPerInterval assigment, noticed by Matt Evans
This patch should be backported to the 3.0 kernel.
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Signed-off-by: Sarah Sharp <[email protected]>
Acked-by: Matt Evans <[email protected]>
Cc: [email protected]
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions