aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYauheni Kaliuta <yauheni.kaliuta@nokia.com>2010-09-24 02:43:27 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-10-22 13:21:48 -0400
commit6195e3c6aa84dbbf80a60731168118824bd58bba (patch)
treeff37a569e69b09cc917ee0d1cfbe89ae2888f495
parent677aeafe19e88c282af74564048243ccabb1c590 (diff)
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 <yauheni.kaliuta@nokia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--include/linux/usb/cdc.h4
1 files changed, 2 insertions, 2 deletions
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 {
343 343
344/* 32-bit NCM Datagram Pointer Entry */ 344/* 32-bit NCM Datagram Pointer Entry */
345struct usb_cdc_ncm_dpe32 { 345struct usb_cdc_ncm_dpe32 {
346 __le32 wDatagramIndex; 346 __le32 dwDatagramIndex;
347 __le32 wDatagramLength; 347 __le32 dwDatagramLength;
348} __attribute__((__packed__)); 348} __attribute__((__packed__));
349 349
350/* 32-bit NCM Datagram Pointer Table */ 350/* 32-bit NCM Datagram Pointer Table */