mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
[IRDA]: Use htons() where appropriate.
Signed-off-by: YOSHIFUJI Hideaki <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
5661df7b6c
commit
6d82de9e57
1 changed files with 1 additions and 1 deletions
|
|
@ -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) */
|
||||
|
|
|
|||
Loading…
Reference in a new issue