net: cdc_ncm: fix typo in test for supported formats
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 22 May 2014 07:52:29 +0000 (10:52 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 May 2014 19:53:00 +0000 (15:53 -0400)
commitd22adbfb39d190adb43c954ed308f2865f5e481f
treed9197f755fccade1e3a600f6cc13593417256516
parent3aeea53f0a372a8adbfc150b37319bff3d24fd04
net: cdc_ncm: fix typo in test for supported formats

There is a typo here where we test for USB_CDC_NCM_NTH32_SIGN instead
of USB_CDC_NCM_NTB32_SUPPORTED.  The test probably still works as
written because 0x686D636E has (1 << 1) set and doesn't have (1 << 0)
set.

Fixes: f8afb73da375 ('net: cdc_ncm: factor out one-time device initialization')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/cdc_ncm.c