From: Samuel Ortiz Date: Mon, 5 Mar 2012 00:03:49 +0000 (+0100) Subject: NFC: SN is not an invalid GT value X-Git-Tag: firefly_0821_release~3680^2~3338^2~108^2~88 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9dda50f4c98f84e32a5f6dc4d9dd7af6085add43;p=firefly-linux-kernel-4.4.55.git NFC: SN is not an invalid GT value We just don't do anything with it when parsing the general bytes. We handle it from the CONNECT reception code. Signed-off-by: Samuel Ortiz Signed-off-by: John W. Linville --- diff --git a/net/nfc/llcp/commands.c b/net/nfc/llcp/commands.c index bfe35b8f225e..7c74b82f2161 100644 --- a/net/nfc/llcp/commands.c +++ b/net/nfc/llcp/commands.c @@ -152,6 +152,8 @@ int nfc_llcp_parse_tlv(struct nfc_llcp_local *local, case LLCP_TLV_RW: local->remote_rw = llcp_tlv_rw(tlv); break; + case LLCP_TLV_SN: + break; default: pr_err("Invalid gt tlv value 0x%x\n", type); break;