Hoernchen has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/42783?usp=email )
Change subject: ccid: ICC_MUTE instead of CMD_NOT_SUPPORTED on XfrBlock to unpowered slot ......................................................................
ccid: ICC_MUTE instead of CMD_NOT_SUPPORTED on XfrBlock to unpowered slot
The command is supported, just currently impossible.
Closes:OS#7015 Change-Id: I7f64475b023bd2b6fd1c4263850e56dd84d20b3e --- M ccid_common/ccid_slot_fsm.c 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ccid-firmware refs/changes/83/42783/1
diff --git a/ccid_common/ccid_slot_fsm.c b/ccid_common/ccid_slot_fsm.c index fae2c3b..d680994 100644 --- a/ccid_common/ccid_slot_fsm.c +++ b/ccid_common/ccid_slot_fsm.c @@ -370,7 +370,7 @@
/* might be unpowered after failed ppss that led to reset */ if (cs->icc_powered != true) - return -0; + return -CCID_ERR_ICC_MUTE;
msgb_pull(msg, 10);