Commit 40672ed6 authored by Peter Meerwald's avatar Peter Meerwald Committed by Romuald Conty

pn532: fix typo in comment

Signed-off-by: default avatarPeter Meerwald <pmeerw@pmeerw.net>
parent 733080ba
...@@ -3170,7 +3170,7 @@ pn53x_current_target_is(const struct nfc_device *pnd, const nfc_target *pnt) ...@@ -3170,7 +3170,7 @@ pn53x_current_target_is(const struct nfc_device *pnd, const nfc_target *pnt)
if ((CHIP_DATA(pnd)->current_target == NULL) || (pnt == NULL)) { if ((CHIP_DATA(pnd)->current_target == NULL) || (pnt == NULL)) {
return false; return false;
} }
// XXX It will not work if t is not binary-equal to current target // XXX It will not work if it is not binary-equal to current target
if (0 != memcmp(pnt, CHIP_DATA(pnd)->current_target, sizeof(nfc_target))) { if (0 != memcmp(pnt, CHIP_DATA(pnd)->current_target, sizeof(nfc_target))) {
return false; return false;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment