NFC: digital: Add missing break in switch statement
authorThierry Escande <thierry.escande@linux.intel.com>
Wed, 12 Feb 2014 11:13:23 +0000 (12:13 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 16 Feb 2014 22:49:55 +0000 (23:49 +0100)
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>
net/nfc/digital_core.c

index 5b440e7d95986dd15b50128f9506e545fe5b2bab..10146e703270fae7e53aebd85d0d41dbc70d368b 100644 (file)
@@ -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;