serial: return a return code in reset_card()

The method reset_card does not return a return code, while the
coresponding pcsc implementation does return 1 on success.

Change-Id: I658dd6857580652696b4a77e7d6cfe5778f09eff
This commit is contained in:
Philipp Maier authored and laforge committed 2023-06-07 10:00:52 +00:00
1 parent 60951b0c17
commit 621f78c943
1 file changed
+1
+1
View File
@@ -104,6 +104,7 @@ class SerialSimLink(LinkBase):
raise NoCardError()
elif rv < 0:
raise ProtocolError()
return rv
def _reset_card(self):
self._atr = None