]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
NFC: SN is not an invalid GT value
authorSamuel Ortiz <sameo@linux.intel.com>
Mon, 5 Mar 2012 00:03:49 +0000 (01:03 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 6 Mar 2012 20:16:23 +0000 (15:16 -0500)
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 <sameo@linux.intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/nfc/llcp/commands.c

index bfe35b8f225e6240b323e0740ba5c4a4b143edf9..7c74b82f2161e8f8f338c096d2872d26f6e10325 100644 (file)
@@ -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;