Skip to content
Commit 36c35416 authored by Giuseppe Scrivano's avatar Giuseppe Scrivano Committed by David S. Miller
Browse files

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: default avatarGiuseppe Scrivano <giuseppe@southpole.se>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5ee5a07c
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