actually return the value

This commit is contained in:
Kai Jan Kriegel 2022-09-23 23:42:15 +02:00
parent d86bc6958b
commit 9ae2e68152

View File

@ -311,7 +311,7 @@ impl Authentication for FabFire {
// request the contents of the file containing the URN
const TOKEN_FILE_ID: u8 = 0x03;
let buf = match self.desfire.read_data_chunk_cmd(
return match self.desfire.read_data_chunk_cmd(
TOKEN_FILE_ID,
0,
MAX_BYTES_PER_TRANSACTION,