channels/smartcard: minor fixes