Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 314183
b: refs/heads/master
c: 76762b7
h: refs/heads/master
i:
  314181: d660cf6
  314179: e5ffe43
  314175: 301f791
v: v3
  • Loading branch information
Samuel Ortiz committed Jun 4, 2012
1 parent d0458da commit f22ebc9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 93d7e490b7f4a72b6c7e1dfa475fa3c3e18eb9f1
refs/heads/master: 76762b73693aa7621ae8d3ea5c7efbf74beda0b9
4 changes: 2 additions & 2 deletions trunk/net/nfc/llcp/commands.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ static u8 llcp_tlv8(u8 *tlv, u8 type)
return tlv[2];
}

static u8 llcp_tlv16(u8 *tlv, u8 type)
static u16 llcp_tlv16(u8 *tlv, u8 type)
{
if (tlv[0] != type || tlv[1] != llcp_tlv_length[tlv[0]])
return 0;
Expand All @@ -67,7 +67,7 @@ static u8 llcp_tlv_version(u8 *tlv)

static u16 llcp_tlv_miux(u8 *tlv)
{
return llcp_tlv16(tlv, LLCP_TLV_MIUX) & 0x7f;
return llcp_tlv16(tlv, LLCP_TLV_MIUX) & 0x7ff;
}

static u16 llcp_tlv_wks(u8 *tlv)
Expand Down

0 comments on commit f22ebc9

Please sign in to comment.