Skip to content

Commit 6195e3c

Browse files
Yauheni Kaliutagregkh
authored andcommitted
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 <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 677aeaf commit 6195e3c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/linux/usb/cdc.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,8 +343,8 @@ struct usb_cdc_ncm_ndp16 {
343343

344344
/* 32-bit NCM Datagram Pointer Entry */
345345
struct usb_cdc_ncm_dpe32 {
346-
__le32 wDatagramIndex;
347-
__le32 wDatagramLength;
346+
__le32 dwDatagramIndex;
347+
__le32 dwDatagramLength;
348348
} __attribute__((__packed__));
349349

350350
/* 32-bit NCM Datagram Pointer Table */

0 commit comments

Comments
 (0)