From: Yauheni Kaliuta Date: Fri, 24 Sep 2010 06:43:27 +0000 (+0300) Subject: USB: cdc.h: ncm: fix one more typo X-Git-Tag: MMI-PSA29.97-13-9~22001^2~86 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6195e3c6aa84dbbf80a60731168118824bd58bba;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git USB: cdc.h: ncm: fix one more typo In usb_cdc_ncm_dpe32 the fields are 32 bit long and according to usb style (hungarian notation) should be called dwDatagramIndex and dwDatagramLength (see CDC NCM subclass spec, 3.3.2). Actually, they were called wDatagramIndex, wDatagramLength. Signed-off-by: Yauheni Kaliuta Signed-off-by: Greg Kroah-Hartman --- diff --git a/include/linux/usb/cdc.h b/include/linux/usb/cdc.h index 2d5b6f296aa3..5e86dc771da4 100644 --- a/include/linux/usb/cdc.h +++ b/include/linux/usb/cdc.h @@ -343,8 +343,8 @@ struct usb_cdc_ncm_ndp16 { /* 32-bit NCM Datagram Pointer Entry */ struct usb_cdc_ncm_dpe32 { - __le32 wDatagramIndex; - __le32 wDatagramLength; + __le32 dwDatagramIndex; + __le32 dwDatagramLength; } __attribute__((__packed__)); /* 32-bit NCM Datagram Pointer Table */