summaryrefslogtreecommitdiff
path: root/net/nfc
diff options
context:
space:
mode:
authorThierry Escande <thierry.escande@linux.intel.com>2014-02-12 15:13:23 +0400
committerSamuel Ortiz <sameo@linux.intel.com>2014-02-17 02:49:55 +0400
commit564af14e36742f5900e40d48dcf30a3414acb143 (patch)
tree8dc122ed8dcc4055812d945619802e1bf42b1021 /net/nfc
parent2a26f9a2c1a28c78dd3b6c9b721b5626600481dd (diff)
downloadlinux-564af14e36742f5900e40d48dcf30a3414acb143.tar.xz
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.c1
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;