aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYauheni Kaliuta <yauheni.kaliuta@nokia.com>2010-09-24 09:43:27 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2010-10-22 10:21:48 -0700
commit6195e3c6aa84dbbf80a60731168118824bd58bba (patch)
treeff37a569e69b09cc917ee0d1cfbe89ae2888f495 /include
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>
Diffstat (limited to 'include')
-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 2d5b6f296aa..5e86dc771da 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 */