diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2007-12-11 19:53:26 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 23:58:03 +0100 |
commit | 6d82de9e576ea84b549b927e6a7775d918a427b5 (patch) | |
tree | 3ecd1ece6966ad7b0d02e7a81edb617998b14774 /net | |
parent | [IPVS]: Use htons() where appropriate. (diff) | |
download | linux-6d82de9e576ea84b549b927e6a7775d918a427b5.tar.xz linux-6d82de9e576ea84b549b927e6a7775d918a427b5.zip |
[IRDA]: Use htons() where appropriate.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/irda/iriap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/irda/iriap.c b/net/irda/iriap.c index a86a5d83786b..390a790886eb 100644 --- a/net/irda/iriap.c +++ b/net/irda/iriap.c @@ -579,7 +579,7 @@ static void iriap_getvaluebyclass_response(struct iriap_cb *self, fp[n++] = ret_code; /* Insert list length (MSB first) */ - tmp_be16 = __constant_htons(0x0001); + tmp_be16 = htons(0x0001); memcpy(fp+n, &tmp_be16, 2); n += 2; /* Insert object identifier ( MSB first) */ |