net: ntohs() misuse
authorEric Dumazet <eric.dumazet@gmail.com>
Fri, 12 Jun 2009 00:23:24 +0000 (17:23 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Jun 2009 00:23:24 +0000 (17:23 -0700)
commit17d0cdfa8f3c09a110061c67421d662b3e149d0a
tree5e707b8787db0a8571b983a6c8c1d7bf88579788
parent3ee40c376ad3252d13946141588db7e2f435f958
net: ntohs() misuse

Some drivers incorrectly use ntohs() instead of htons()

A cleanup as htons() returns same result than ntohs(),
but better to use the proper one.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/atl1e/atl1e_main.c
drivers/net/atlx/atl1.c
drivers/net/ioc3-eth.c