diff options
| -rw-r--r-- | drivers/net/usb/cdc_ncm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/usb/cdc_ncm.c b/drivers/net/usb/cdc_ncm.c index c40f742f6200..b5fdf8f16f5d 100644 --- a/drivers/net/usb/cdc_ncm.c +++ b/drivers/net/usb/cdc_ncm.c | |||
| @@ -923,7 +923,7 @@ int cdc_ncm_rx_verify_ndp16(struct sk_buff *skb_in, int ndpoffset) | |||
| 923 | 923 | ||
| 924 | if (le16_to_cpu(ndp16->wLength) < USB_CDC_NCM_NDP16_LENGTH_MIN) { | 924 | if (le16_to_cpu(ndp16->wLength) < USB_CDC_NCM_NDP16_LENGTH_MIN) { |
| 925 | pr_debug("invalid DPT16 length <%u>\n", | 925 | pr_debug("invalid DPT16 length <%u>\n", |
| 926 | le32_to_cpu(ndp16->dwSignature)); | 926 | le16_to_cpu(ndp16->wLength)); |
| 927 | goto error; | 927 | goto error; |
| 928 | } | 928 | } |
| 929 | 929 | ||
