Skip to content

Commit

Permalink
USB: cdc.h: ncm: fix one more typo
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Yauheni Kaliuta authored and Greg Kroah-Hartman committed Oct 22, 2010
1 parent 677aeaf commit 6195e3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/linux/usb/cdc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 6195e3c

Please sign in to comment.