diff options
Diffstat (limited to 'src/rfid_proto_mifare_classic.c')
-rw-r--r-- | src/rfid_proto_mifare_classic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rfid_proto_mifare_classic.c b/src/rfid_proto_mifare_classic.c index e2ee80c..5d2b3ff 100644 --- a/src/rfid_proto_mifare_classic.c +++ b/src/rfid_proto_mifare_classic.c @@ -57,7 +57,7 @@ mfcl_read(struct rfid_protocol_handle *ph, unsigned int page, tx[0] = MIFARE_CL_CMD_READ; tx[1] = page & 0xff; - ret = rfid_layer2_transcieve(ph->l2h, RFID_MIFARE_FRAME, tx, + ret = rfid_layer2_transceive(ph->l2h, RFID_MIFARE_FRAME, tx, sizeof(tx), rx_buf, &real_rx_len, MIFARE_CL_READ_FWT, 0); @@ -93,7 +93,7 @@ mfcl_write(struct rfid_protocol_handle *ph, unsigned int page, memcpy(tx+2, tx_data, 16); - ret = rfid_layer2_transcieve(ph->l2h, RFID_MIFARE_FRAME, tx, + ret = rfid_layer2_transceive(ph->l2h, RFID_MIFARE_FRAME, tx, sizeof(tx), rx, &rx_len, MIFARE_CL_WRITE_FWT, 0); |