mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
[BLUETOOTH]: rfcomm endianness annotations
Signed-off-by: Al Viro <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
1bc5d4483a
commit
6ba9c755e5
2 changed files with 3 additions and 3 deletions
|
|
@ -1018,7 +1018,7 @@ static void rfcomm_make_uih(struct sk_buff *skb, u8 addr)
|
|||
|
||||
if (len > 127) {
|
||||
hdr = (void *) skb_push(skb, 4);
|
||||
put_unaligned(htobs(__len16(len)), (u16 *) &hdr->len);
|
||||
put_unaligned(htobs(__len16(len)), (__le16 *) &hdr->len);
|
||||
} else {
|
||||
hdr = (void *) skb_push(skb, 3);
|
||||
hdr->len = __len8(len);
|
||||
|
|
|
|||
Loading…
Reference in a new issue