diff options
author | Thierry Escande <thierry.escande@linux.intel.com> | 2014-02-12 12:13:23 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2014-02-16 23:49:55 +0100 |
commit | 564af14e36742f5900e40d48dcf30a3414acb143 (patch) | |
tree | 8dc122ed8dcc4055812d945619802e1bf42b1021 /net/nfc | |
parent | NFC: port100: Add support for type 4A tag platform (diff) | |
download | linux-564af14e36742f5900e40d48dcf30a3414acb143.tar.xz linux-564af14e36742f5900e40d48dcf30a3414acb143.zip |
NFC: digital: Add missing break in switch statement
There was a missing break making the digital stack configured for
ISO1443 target instead of ISO15693.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Thierry Escande <thierry.escande@linux.intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'net/nfc')
-rw-r--r-- | net/nfc/digital_core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/nfc/digital_core.c b/net/nfc/digital_core.c index 5b440e7d9598..10146e703270 100644 --- a/net/nfc/digital_core.c +++ b/net/nfc/digital_core.c @@ -337,6 +337,7 @@ int digital_target_found(struct nfc_digital_dev *ddev, framing = NFC_DIGITAL_FRAMING_ISO15693_TVT; check_crc = digital_skb_check_crc_b; add_crc = digital_skb_add_crc_b; + break; case NFC_PROTO_ISO14443: framing = NFC_DIGITAL_FRAMING_NFCA_T4T; |