net: cdc_ncm: big endian fix
authorBjørn Mork <bjorn@mork.no>
Thu, 25 Oct 2012 21:44:08 +0000 (21:44 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 28 Oct 2012 23:07:57 +0000 (19:07 -0400)
commit1a7c6cc646782b854b036d287611a0659c40fc9d
tree3750e9e1ed6f48eafaff5e8a21f25162907486df
parent9e5511106f99f293ad4a55e1d35c2e909c0c2e60
net: cdc_ncm: big endian fix

Probably doesn't matter much since the value is used as a
boolean anyway, but it removes the sparse warning:

 drivers/net/usb/cdc_ncm.c:1090:32: warning: incorrect type in assignment (different base types)
 drivers/net/usb/cdc_ncm.c:1090:32:    expected unsigned short [unsigned] [usertype] connected
 drivers/net/usb/cdc_ncm.c:1090:32:    got restricted __le16 [usertype] wValue

Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/cdc_ncm.c