myri10ge: fix incorrect use of ntohs()
authorAndrew Gallatin <gallatin@myri.com>
Fri, 30 Nov 2012 12:31:26 +0000 (12:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 1 Dec 2012 16:36:37 +0000 (11:36 -0500)
commit30828d2b6070f1a4c71f26da75cda4bcdabfca02
tree4dc3bc7921683e9be7de6278bb98d47f5ee68857
parentaeaf6e9d2f49d793d3eb8c1af4095cf25e061b94
myri10ge: fix incorrect use of ntohs()

1b4c44e6369dbbafd113f1e00b406f1eda5ab5b2 incorrectly used
ntohs() rather than htons() in myri10ge_vlan_rx().

Thanks to Fengguang Wu, Yuanhan Liu's kernel-build tester
for pointing out this bug.

Signed-off-by: Andrew Gallatin <gallatin@myri.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/myricom/myri10ge/myri10ge.c