diff options
Diffstat (limited to 'net/nfc/nci/ntf.c')
-rw-r--r-- | net/nfc/nci/ntf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/nfc/nci/ntf.c b/net/nfc/nci/ntf.c index 8dd75352ab6c..96633f5cda4f 100644 --- a/net/nfc/nci/ntf.c +++ b/net/nfc/nci/ntf.c | |||
@@ -215,7 +215,7 @@ static void nci_rf_deactivate_ntf_packet(struct nci_dev *ndev, | |||
215 | } | 215 | } |
216 | 216 | ||
217 | /* complete the data exchange transaction, if exists */ | 217 | /* complete the data exchange transaction, if exists */ |
218 | if (ndev->data_exchange_cb) | 218 | if (test_bit(NCI_DATA_EXCHANGE, &ndev->flags)) |
219 | nci_data_exchange_complete(ndev, NULL, -EIO); | 219 | nci_data_exchange_complete(ndev, NULL, -EIO); |
220 | } | 220 | } |
221 | 221 | ||