Change in osmo-ccid-firmware[master]: PC_to_RDR_ResetParameters fix

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Tue Jan 28 21:39:54 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/17039 )

Change subject: PC_to_RDR_ResetParameters fix
......................................................................

PC_to_RDR_ResetParameters fix

Change-Id: I1d89a704727baa0fd1d14eb6f17809c69cc0df67
---
M ccid_common/ccid_device.c
1 file changed, 2 insertions(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved



diff --git a/ccid_common/ccid_device.c b/ccid_common/ccid_device.c
index 34fdcc8..9e72e11 100644
--- a/ccid_common/ccid_device.c
+++ b/ccid_common/ccid_device.c
@@ -480,6 +480,8 @@
 	/* copy default parameters from somewhere */
 	/* FIXME: T=1 */
 
+	cs->proposed_pars = *cs->default_pars;
+
 	/* validate parameters; abort if they are not supported */
 	rc = cs->ci->slot_ops->set_params(cs, seq, CCID_PROTOCOL_NUM_T0, cs->default_pars);
 	if (rc < 0) {

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/17039
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ccid-firmware
Gerrit-Branch: master
Gerrit-Change-Id: I1d89a704727baa0fd1d14eb6f17809c69cc0df67
Gerrit-Change-Number: 17039
Gerrit-PatchSet: 1
Gerrit-Owner: Hoernchen <ewild at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200128/59b2e56f/attachment.htm>


More information about the gerrit-log mailing list