bankd_pcsc: Improve logging in non-error case
Before this commit, the PCSC operation (e.g. SCardStatus) is only
printed in the error case, but not in the debug case. Let's fix that.
[000 CONN_CLIENT_MAPPED_CARD] bankd_pcsc.c:196 : OK
will become
[000 CONN_CLIENT_MAPPED_CARD] bankd_pcsc.c:196 SCardTransmit: OK
Change-Id: I3c77655c5d1f76be778cb8873d8acf1343c87b05
diff --git a/src/bankd/bankd_pcsc.c b/src/bankd/bankd_pcsc.c
index e0b349c..5bc7bb8 100644
--- a/src/bankd/bankd_pcsc.c
+++ b/src/bankd/bankd_pcsc.c
@@ -178,7 +178,7 @@
LOGW_PCSC_ERROR(w, rv, text); \
goto end; \
} else { \
- LOGW((w), ": OK\n"); \
+ LOGW((w), text ": OK\n"); \
}
static int pcsc_get_atr(struct bankd_worker *worker)