iasecc: Fix log output is always displayed

* iasecc_read_public_key function uses SC_SUCCESS instead of log level
  value, hence the log output is always displayed. This uses
  SC_LOG_DEBUG_NORMAL instead.

VTA: updated to use short form of LOG macro
This commit is contained in:
Thomas Calderon 2015-03-31 16:52:05 +02:00 committed by Viktor Tarasov
parent 117f3a74be
commit 4a4d750e73
1 changed files with 1 additions and 1 deletions

View File

@ -3385,7 +3385,7 @@ iasecc_read_public_key(struct sc_card *card, unsigned type,
iasecc_sdo_free_fields(card, &sdo);
SC_FUNC_RETURN(ctx, SC_SUCCESS, rv);
LOG_FUNC_RETURN(ctx, SC_SUCCESS);
}