浏览代码

nfc: st21nfcb: Add missing break statement in switch section

Add missing break statement when ST21NFCB_EVT_TRANSACTION switch
section ends.

Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Christophe Ricard 10 年之前
父节点
当前提交
05db6e94fe
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/nfc/st21nfcb/st21nfcb_se.c

+ 1 - 0
drivers/nfc/st21nfcb/st21nfcb_se.c

@@ -340,6 +340,7 @@ static int st21nfcb_hci_connectivity_event_received(struct nci_dev *ndev,
 		       transaction->aid_len + 4, transaction->params_len);
 
 		r = nfc_se_transaction(ndev->nfc_dev, host, transaction);
+		break;
 	default:
 		return 1;
 	}