actually return the value

This commit is contained in:
Kai Jan Kriegel 2022-09-23 23:42:15 +02:00 committed by TheJoKlLa
parent 8776fa3ca2
commit 7a941c3338
1 changed files with 1 additions and 1 deletions

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,