From 9ae2e68152db02a921dab6176a5c5c59c2fab398 Mon Sep 17 00:00:00 2001 From: Kai Jan Kriegel Date: Fri, 23 Sep 2022 23:42:15 +0200 Subject: [PATCH] actually return the value --- bffhd/authentication/fabfire_bin/server.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bffhd/authentication/fabfire_bin/server.rs b/bffhd/authentication/fabfire_bin/server.rs index 6ebeb15..602442e 100644 --- a/bffhd/authentication/fabfire_bin/server.rs +++ b/bffhd/authentication/fabfire_bin/server.rs @@ -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,