diff options
Diffstat (limited to 'net/irda/iriap.c')
-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, | |||
579 | fp[n++] = ret_code; | 579 | fp[n++] = ret_code; |
580 | 580 | ||
581 | /* Insert list length (MSB first) */ | 581 | /* Insert list length (MSB first) */ |
582 | tmp_be16 = __constant_htons(0x0001); | 582 | tmp_be16 = htons(0x0001); |
583 | memcpy(fp+n, &tmp_be16, 2); n += 2; | 583 | memcpy(fp+n, &tmp_be16, 2); n += 2; |
584 | 584 | ||
585 | /* Insert object identifier ( MSB first) */ | 585 | /* Insert object identifier ( MSB first) */ |