commit | 36c35416a94f5632c3addad05217ff02c39b3b61 | [log] [tgz] |
---|---|---|
author | Giuseppe Scrivano <giuseppe@southpole.se> | Wed Aug 03 22:10:29 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Aug 04 01:43:30 2011 -0700 |
tree | cd62778aeb57b3958228e2cd325d18fd1cd1cc35 | |
parent | 5ee5a07ce3a54de3d1192f8c9c2378d51a51e3bd [diff] |
cdc_ncm: fix endianness problem. Fix a misusage of the struct usb_cdc_notification to pass arguments to the usb_control_msg function. The usb_control_msg function expects host endian arguments but usb_cdc_notification stores these values as little endian. Now usb_control_msg is directly invoked with host endian values. Signed-off-by: Giuseppe Scrivano <giuseppe@southpole.se> Signed-off-by: David S. Miller <davem@davemloft.net>