From: Samuel Ortiz Date: Tue, 10 Apr 2012 17:43:20 +0000 (+0200) Subject: NFC: Fix LLCP link timeout typo X-Git-Tag: v3.5-rc1~109^2~410^2~84 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=91b0ade112136a1504677defa91cf137d9a53994;p=platform%2Fupstream%2Fkernel-adaptation-pc.git NFC: Fix LLCP link timeout typo We were sending the LTO TLV as a version TLV instead of the actual link timeout one. Signed-off-by: Samuel Ortiz Signed-off-by: John W. Linville --- diff --git a/net/nfc/llcp/llcp.c b/net/nfc/llcp/llcp.c index 31a05e5..92988aa 100644 --- a/net/nfc/llcp/llcp.c +++ b/net/nfc/llcp/llcp.c @@ -318,7 +318,7 @@ static int nfc_llcp_build_gb(struct nfc_llcp_local *local) /* 1500 ms */ lto = 150; - lto_tlv = nfc_llcp_build_tlv(LLCP_TLV_VERSION, <o, 1, <o_length); + lto_tlv = nfc_llcp_build_tlv(LLCP_TLV_LTO, <o, 1, <o_length); gb_len += lto_length; pr_debug("Local wks 0x%lx\n", local->local_wks);